On Son, 30 Okt 2005, Jan Luehr wrote: > Hello, > > Am Sonntag, 30. Oktober 2005 02:55 schrieb Florian Reitmeir: > > Hi, > [...] > > http://www.cacr.math.uwaterloo.ca/hac/ > > > > there are some criterias for ciphers by design which answer your querstion: > > > > - the cipher output should be random, so there is no way to guess the > > cipher itself, nor the original content > > This is rather logical. > Considering this, I don't understand how / why does gnupg know what cipher is > used (aes, twofish, etc.) if I try to decrypt symmetric encrypted data (at > least)? everything needed to decrypt the content is added to the message (ciphers, content encoding,...), the only thing additional needed is the "passphrase/key". Maybe you like to read: http://en.wikipedia.org/wiki/Pretty_Good_Privacy -- Florian Reitmeir - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/