Hi. I looking for an algorithm that could be used for encryption purposes. The type of encryption I normally use is DES encryption. However, although I don't know much about it, using DES I normally encrypt messages sent via a network, and when the client / server receives the message, it is decrypted from bytes to a string.

Now what I want is to decrypt a string to a string. Not from a string to bytes. I want to decrypt data that could then be written to something like a text file, and then read back and decrypted to readable data.

Using the DES encryption, I tried taking a string, encrypting to bytes, and converting bytes to string and writing that to the file as a test. However, when i read the information from the file, convert back to bytes, and then decrypt I am not getting my original data. Sometimes it generating an error.

Thus I'm looking for a suitable type of encryption technique that encrypts and decrypts from string to string. Are there any out there?

I'm using the 1.1 framework.

Thanks, Jennifer.