JSEncrypt 公钥加密
明文字符串
Optional
公钥
encryptStringRSA('hello world', '-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----'); /// 加密后的字符串(base64) Copy
encryptStringRSA('hello world', '-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----'); /// 加密后的字符串(base64)
JSEncrypt 公钥加密