Difference between RSA_sign and RSA_private_encrypt

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Difference between RSA_sign and RSA_private_encrypt

Bhupendra K Joshi
Hello,
 
         I have used RSA_private_encrypt instead of using RSA_sign and RSA_public_decrypt instead of using RSA_verify.
 
For verifying I have compared the hash to complete the verification.
 
Can there be a problem in this?
 
What is the difference between RSA_private_encrypt and RSA_sign?
 
Please Help
 
Thanks in advance,
Bhupendra
 


Start your day with Yahoo! - make it your home page