Skip to Main Content

Java Security

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!

RSA

843810Jul 21 2003 — edited Jul 22 2003
hello there,

i need some help with RSA. I have j2sdk1.4.2se installed. I do not want to use any 3rd party security providers. Is it possible to use the jce that comes with j2sdk to perform encryptions/decryptions using RSA? i have been trying for a while with no avil.

when ever i trying and run this code

Cipher c = Cipher.getInstance("RSA");
or
Cipher c = Cipher.getInstance("RSA/ECB/PCKS1Padding");

the code compiles properly.......but gives an exception when the program is run.

HELP please!

-Binoy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2003
Added on Jul 21 2003
22 comments
826 views