Encrypting a plain text to ciphertext (Encrypted text) in java???  
Author Message
kamal_vaswani





PostPosted: 2004-1-27 23:23:00 Top

java-programmer, Encrypting a plain text to ciphertext (Encrypted text) in java??? How to achieve encryption in java on a plain text?
What is the package name and class name(and method to be
used)providing the support for encryption of plain text?
Thanxs...
 
Oscar kind





PostPosted: 2004-1-28 20:00:00 Top

java-programmer >> Encrypting a plain text to ciphertext (Encrypted text) in java??? Kamal <email***@***.com> wrote:
> How to achieve encryption in java on a plain text?
> What is the package name and class name(and method to be
> used)providing the support for encryption of plain text?

I find this URL really helpful:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html

Also, you'll need a JCE provider. I don't know if there is one in the
default JDK download, but I suspect there isn't. Personally, I've always
used the one from Cryptix (http://www.cryptix.org/products/jce/), as it
is 100% compatible with the Java implementation/documentation. Or at least
close enough that if there is a difference, I never encountered it.


Oscar

--
No trees were harmed in creating this message.
However, a large number of electrons were terribly inconvenienced.