rsa encrypted using python

Premise not say why the use of RSA encryption your own search, direct positive as follows:

I. generate a public key and a private key, and save

 

II. Uses public key cryptography, the private key to decrypt

 

Postscript: In general use, the data will first bas64 encryption, and then use rsa encryption of the encrypted content, the content after the last pair rsa decryption

  Bas64 be decrypted.

Guess you like

Origin www.cnblogs.com/quzq/p/11110516.html