

I will share these two encryption and decryption codes for your reference, but please indicate the source when reprinting or using it.įirst, the certificate generated by the RSA standard methodġ.Encryption and decryption, encryption signature, verification encryption signature There are two ways to generate public and private key certificates, one is RSA generation, and the other is X509 generation. Installing the SWIG program on Windows is very difficult. M2Crypto-I finally found it, but it has a big shortcoming? It uses SWIG and OpenSSL to interface with it. Pyopenssl-seems to be used for https communication, and I can't find the usage of encryption and decryption.

But it is not compatible with other programs. Python-crypto-This component is the basic component and the functions used are relatively complicated.ĮzP圜rypto-Relatively simple, but he made "Miao Tombs", all lessons learned, and more sloppy? br /> SSLCrypto-ezP圜rypto was developed by the same author, and is more efficient than ezP圜rypto.

Compared to php, there are many encryption and decryption components in Python. I just have time to summarize the python encryption and decryption code, May be used in the future. I also found some reliable information on the Internet. At the same time, the encrypted string can be solved on php. Recently I was doing python encryption and decryption.
