fucking-util-signature RSA加解密/签名验签 Java Demo
fucking-util-signature-rsa-pkcs1padding
js端全局集成无需多余设置:SHA256withRSA
签名算法默认使用 前端加密重要设置
let rsa = new util.Signature.RSA ( );
// 重要
rsa.keys.setOptions ( { encryptionScheme: 'pkcs1' } );
后端加密重要设置
// 重要一致
Cipher cipher = Cipher.getInstance ( "RSA/ECB/PKCS1Padding" );