Possible Duplicate:
Which “good” block encryption algorithm has the shortest output?
I need to encrypt a string and also be able to decrypt it. The problem I have is that I need to keep the encrypted string as short as possible, ideally the same length as the inputted string. I’ve looked at the Cryptography classes but the smallest size seems to use a 64bit block. This means that if my string is nine characters long I end up with a much longer, padded, encrypted string. I need to be able to read the encrypted string to people via the phone so a short code is a must. Can anyone recommend a solution or will I need to write my own encryption class to do this?