Page 1 of 1

RSA with OAEP padding

Posted: Wed Nov 09, 2016 3:26 am
by Classicni
I wanted to encrypt a message using RSA with OAEP padding. I also wanted to use SHA512 as hashing algorithm. But I found RSA algorithm with OAEP padding use SHA1 as hash function.Can I use SHA512 instead?thanks

Re: RSA with OAEP padding

Posted: Thu Nov 10, 2016 11:14 am
by tay00000
I think you might need to hand-code RSA-OAEP-SHA512 by using RSA_NOPAD as your basis and if your card has SHA-512 algorithm, it will be much much easier.