So does that mean that there are infinite number of Crypto texts which could be decrypted to arrive at the same plain text? (assuming same 3DES algorithm and same key) ]]>

I hope all is well.

You are stating that "there are different encrypted data outcomes for the same plain text with the same algorithm (3DES) and the same key"

While that is possible if the implementation parameters of the cryptosystem change, I am not sure how CryptoDemo implements the crypto functions that you are examining, and as a result, I am unsure whether or not that is expected behavior.

For instance, if you were to vary the Initialization Vector, if one were being used, then this behavior would be expected. If you were to implement 3DES using different modes, then the behavior may also be possible.

The short answer to your question is that if you kept EVERYTHING the same in the cryptosystem, then the same plaintext should always produce the same ciphertext, and vice versa, assuming that the same key pair is used for the system at all times.

The way that you get to the last part of your question statement, " So does that mean that there are infinite number of Crypto texts which could be decrypted to arrive at the same plain text? (assuming same 3DES algorithm and same key)" is that one or more elements of the cryptosystem must change in order to produce the different ciphertext outputs.

I hope that this helps to clarify.

Please let me know if I can answer any further questions.

Cheers,

Adam

]]>