Encrypting and decrypting the data using different Cipher algorithm in PGP

Viewed 23

I am trying to get my head over this and hope someone can explain what is happening. I have a PGP key pair from which I encrypted a message after specifying the cipher algorithm like AES_128, AES_192 or TWOFISH. Later, I tried to decrypt that encrypted message using a different cipher algorithm and I could still see the message.

How is this possible if I am encrypting a message using cipher AES_128 then how is it getting decrypted using the CAST5 cipher algorithm? I was expecting it to fail or at least get some garbage data however I could see the exact plain text that I encrypted in the first place.

0 Answers
Related