public/private keys encryption..

Hello every body...

i want to ask if there is any pakage at java that help me to generate pairs of private key and public key for the sender and then, use the pairs to encrypt the message and send it..

Please, give a java example that can help me to understand the solution if it is valid....

thanks all..

[330 byte] By [shadya] at [2007-11-27 1:39:49]
# 1
can any body help me please,,
javaanimatora at 2007-7-12 0:53:19 > top of Java-index,Security,Cryptography...
# 2
> can any body help me please,,Are you also known as 'shady'? If not then why are you posting this in this thread. If so then why change your handle?
sabre150a at 2007-7-12 0:53:19 > top of Java-index,Security,Cryptography...