Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RSA2048 with SHA2

966781Oct 26 2012 — edited Nov 12 2012
Hello,

as far as is can see the RSA_2048 algorithm with OAEP padding use SHA1 as hash function.
Is there any possibility to use SHA2 ? Especially SHA256 ?

Yes, i can use RSA_2048 with no padding an do the padding by myself because the MessageDigest supports SHA256. But this would be a lot of work. For me it seems unusually that the cipher RSA algorithm does not have an implementation for SHA2 because in my opinion SHA2 is the most frequently used hash function.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2012
Added on Oct 26 2012
1 comment
325 views