Encrypt message text friendly
843810Jul 8 2003 — edited Jul 9 2003I have a simple class to make encryption/decryption of string data using a cipher. However, when looking at the crypted text, it's all a bunch of cryptic characters:
Original string: Hello World!
Crypted string: ��?H?�s v���?
The algortihm i'm using is DES provided by javax.crypto. I need to store this text in some email message or other text container and i have problem with certains characters that are not well understood on another machine.
Is there a way to encrypt the string so that it is text friendly, i.e. that it use only letters and numbers to generate the crypted output?
Something like the MIME format.