jsencrypt-rsa
v1.0.4
Published
A Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation
Downloads
17
Readme
#用法:JSEncrypt分段加密解密
#实例化加密对象
var encrypt = new JSEncrypt();
#设置加密公钥
encrypt.setPublicKey("......");
#分段加密 var sss=encrypt.encryptLong2("加密加密加密加密加密加密加密加密加密加密!");
#设置解密私钥
encrypt.setPrivateKey(".......")
#分段解密 var sss= encrypt.decryptLong2(sss);