The pit of ras encryption and decryption and node ras

, Encryption and decryption with NODE RSA JS is normal, and encryption and decryption with JAVA RSAUtils tool class is normal. But the java played with node encryption cannot be decrypted. Reason: Node defaults to

DEFAULT_ENCRYPTION_SCHEME = 'pkcs1_oaep'

 

     The default in java is pkcs1.

 

Refer to http://blog.csdn.net/mshootingstar/article/details/56496719

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326122378&siteId=291194637
RAS
RAS
RAS