Question about history of hash and cipher collections

David Shaw dshaw at
Mon Jan 14 18:24:39 CET 2008

On Mon, Jan 14, 2008 at 09:09:40AM -0800, Alan Olsen wrote:
> > From: David Shaw
> > Yes.  "gpg -v --version" will give you the algorithm numbers along
> > with the algorithm names.  However, the algorithm numbers are not
> > really relevant to anything unless you're writing OpenPGP software.
> > For years now, all programs have referred to AES256 as "AES256"
> > and not "cipher 9".
> Version will not report it that way, but decryption errors will.

Version does report it that way.

$ gpg -v --version
gpg (GnuPG) 1.4.7
Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Cipher: 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8), 
        AES256 (S9), TWOFISH (S10)
Hash: MD5 (H1), SHA1 (H2), RIPEMD160 (H3), SHA256 (H8), SHA384 (H9), 
      SHA512 (H10), SHA224 (H11)
Compression: Uncompressed (Z0), ZIP (Z1), ZLIB (Z2), BZIP2 (Z3)


More information about the Gnupg-users mailing list