https://api.xlongwei.com/service/rsa/keypair.json
publicKey | 公钥,可选 |
privateKey | 私钥,提供时缓存 |
publicCacheKey | 公钥键值 |
privateCacheKey | 私钥键值 |
publicKey | 公钥 |
privateKey | 私钥,生成时返回 |
https://api.xlongwei.com/service/rsa/encrypt.json
publicCacheKey | 公钥键值 |
data | 数据 |
data | 加密数据 |
https://api.xlongwei.com/service/rsa/decrypt.json
privateCacheKey | 私钥键值 |
data | 加密数据 |
data | 解密数据 |
https://api.xlongwei.com/service/rsa/sign.json
privateCacheKey | 私钥键值 |
data | 加密数据 |
sign | 签名数据 |
https://api.xlongwei.com/service/rsa/verify.json
publicCacheKey | 公钥键值 |
data | 数据 |
verify | true验签成功,false失败 |