[Python]如何使用SSL? [英] [Python]how to use SSL ?
问题描述
我的尝试:
我试图找到通过官方python SSL文档和一些stackoverflow文章的信息。
引用:我试图通过官方的python SSL文档和一些stackoverflow文章找到信息。
花了不到1秒的时间来找到 17.3。 ssl - 套接字对象的TLS / SSL包装器 - Python 2.7.13文档 [ ^ ]。
我找到了这个网页:bearcave SSL示例提供了有关如何使用SSL的完整示例...以便您可以了解所有内容...然后将此知识转换为您自己的SSL连接。我把它留在这里,希望别人会发现它像我一样有用。
Hello ! I have two programs(created with python 2.7), that exchange data(phrases or/and files) using sockets. What i want, is the connection to be secure, so no one can read or access these data. I tried using encryption algorithms, but that wasn't much practical. So i found that i could use SSL/TLS.... but i can't pull enough info from google and doc's, to "transform" my code. Is there someone that can make a very simple code on how we use SSL/TLS ? Thanks.
What I have tried:
I tried to find information through the official python SSL doc, and some stackoverflow articles.
Quote:I tried to find information through the official python SSL doc, and some stackoverflow articles.
It took less than 1 second to find 17.3. ssl — TLS/SSL wrapper for socket objects — Python 2.7.13 documentation[^].
I found this webpage:bearcave SSL examplethat gives a full example on how to use SSL... so that you can understand everything... and then transform this knowledge to your own "SSL Connection". I leave it here, hoping that others will find it useful as i did.
这篇关于[Python]如何使用SSL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!