encrypted data same length as unencrypted data ?
843811May 10 2009 — edited May 13 2009Is it possible to encrypt a data block and have the encrypted data be the same length as the original data ?
I am working with a legacy system that has a data field that I would like to encrypt prior to storing it. This data is stored to a fixed size storage (i.e. barcode). So in order to store the encrypted version of the data into the barcode it must be the same size as the original data. I can not change the size of the barcode.
Are any of the encryption algorithms that can do this ? Ideally, a public key algorithm.
Thanks.