PDA

View Full Version : Openssl RSA_private_decrypt error



vikas.sood
July 1st, 2011, 11:08 AM
Hi All,
I have encrypted a small text string using the RSA Demo given at the following URL.
http://www-cs-students.stanford.edu/~tjw/jsbn/ (http://www-cs-students.stanford.edu/%7Etjw/jsbn/)

I wish to decrypt the encrypted string using the openssl API RSA_private_decrypt, but the API fails.
I am attaching the required code, key and encrypted data.

Please help with the same.

Regards :)