Using RSA with JCE?

Dear ,

   How can I use RSA algorithm to generate private and public key with JCE?May you show me the code?Thanks!
LVL 2
hpchong7Asked:
Who is Participating?
 
Ash_Connect With a Mentor Commented:
Check out

http://www.oreilly.com/catalog/javadc/
or
ftp://ftp.ora.com/published/oreilly/java/javadc

Chapter 5 of the book has a nice example on using the JCE for generataing the keys.
0
 
hpchong7Author Commented:
But may you show me an complete example with code?
Just show me the book is no good!
BTW,do you know any tutorial on the web about how to use the JCE package?Thanks!
0
 
Ash_Commented:
The examples in the book contain code examples of programs using the JCE.
Check out the ftp link above & download the examples. See Ch.5 of the examples.

Tutorials:

http://www.it.kth.se/~reza/TI_Proj/JCEoverview.html
http://java.sun.com/docs/books/tutorial/security1.2/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.