离线安装方法
http://blog.csdn.net/monsion/article/details/8679847
>>> import rsa>>> (pk,sk) = rsa.newkeys(2048)>>> publickey = rsa.PublicKey.load_pkcs1(pk.save_pkcs1())>>> secretkey = rsa.PrivateKey.load_pkcs1(sk.save_pkcs1())>>> msg = "hello!">>> crypto = rsa.encrypt(msg,publickey)>>> print rsa.decrypt(crypto,secretkey)hello!>>>