> 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

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