rsa-js-java
rsa-js-java
NPM 下载包
npm i rsa-js-java --save-dev
js使用
RSAkey = RSARSA
java使用
Java生成秘钥及存储私钥进Redis//解密try PrivateKey privateKey = SecurityKeyUtil; aco = SecurityKeyUtil; pwd = SecurityKeyUtil; catch Exception e e; throw PersonUserEnumSESSION_TIMEOUT;
For detailed explanation on how things work, checkout the guide and docs for rsa-js-java.