根据模长和公钥指数获取公钥进行RSA加密 这是 分解公钥 的一个网址http://tool.chacuo.net/cryptrsakeyparse RSA公钥和私钥肯定要换的 使用模长和公钥指数获取RSA就是为了能实时更换,具体客户端实现我就不说了 Demo里面有加密和解密 还有需要导入openssl第三方pod 'OpenSSL', '~> 1.0.207' 或者pod 'OpenSSL-Universal', :git => 'https://github.com/krzyzanowskim/OpenSSL.git', :branch => :master 感觉不错的帮忙加个星
-
Notifications
You must be signed in to change notification settings - Fork 1
sujie0308/SJRSAEncryption
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.