RSA and PCKS1Padding
973297Nov 8 2012 — edited Nov 9 2012Hi,
I was advised by a security auditor couple of months ago, to use PKCS1Padding when using RSA.
So I did find RSA/ECB/PKCS1Padding but I quickly realized from browsing around that it was better to use RSA/ECB/OAEPWithSHA1AndMGF1Padding instead.
Do you guys confirm?
Further, I was reading that the ECB mode was very weak. I am not sure which one I could replace it with RSA and OAEPWithSHA1AndMGF1Padding.
Thank you,
Can you please advise,
Thank you.
Elextra--