What is the most efficient method / cryptography provider for encrypting strings which results in the shortest possible string. Our goal is that we have to encrypt a string and we want to achieve the shortest possible string after encryption.
So far we have tested with Tripple DES and Rijndael and both resulted in exactly the same encrypted length. I have also played around with longer and shorter key sizes but that also did not make much difference.
I'm not much of an expert on cryptography so I don't know if there is perhaps some mathematical reason or explanation why a string of length y can only be encrypted to length x - hoping to hear from your expert opinions.