Home > Net >  About the RSA encryption to decrypt, c # and Java
About the RSA encryption to decrypt, c # and Java

Time:09-27

To connect the written is a Java service, I use c # write a service to send each other the RSA public key to encrypt data, and then with the private key to decrypt the data returned by the, the other is with the public key encryption, decrypted, now the other party cannot decrypt the received data, I also can't decrypt of abnormal return, should be where there is the problem?

CodePudding user response:

.net RSA encryption decryption algorithm like and Java is not the same, I remember that there is a project done before a DLL is a reference to a third party as is BouncyCastle Crypto. DLL
The use of the DLL in the encryption

CodePudding user response:

Post code, keys, plaintext and ciphertext,

CodePudding user response:

Clear encryption, 4.72 after fx in Java have some encryption side, according to write good
Want to use the method of the third party before writing, you should search in the BBS many specific answers,
  • Related