How do I encrypt the body text of an email? Can I use PGP in conjunction with JavaMail?

Shiva Kumar

If you are an US/Canadian you can use the JCE (Java Cryptographic Extension), available from Sun (http://java.sun.com/products/jce/). Remember that after encryption, you will get binary output, so don't forget to base64 encode, otherwise X.25 mailing systems may corrupt the mailed data.