Re: Encryption Tool Query - Same Input, Different Outputs

Lucanos <lucanos@xxxxxxxxx> wrote in news:1186730099.875537.68860

I am looking for an Encryption methodology, whereby I can encrypt a
string (or content) in such a way that the results it returns can be
different from each other, but when decrypted (using a single key/
method) the original string is returned.

The standard way of achieving this is with a "salt" which is typically a
random number (but needn't be - a timestamp, for instance, would also work)

The salt is used either as a prefix or suffix to "the_string" and the
combined salt plus string is encrypted. With different salts the same
string will result in a different encrypted message.

On decryption the salt is, of course, discarded and only "the_string" is