Add PGPPacket._symmetric_key_algorithms
authorW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 05:13:57 +0000 (21:13 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 20 Dec 2013 18:56:23 +0000 (10:56 -0800)
commit48358358ab61c53e9aa6a232a7f63f2cdcd605ab
tree697bc325dbbb1e0779155dfebc9a829e9e805d8d
parent32f36d4ec505b385c880eb99ad69a8cde93f14fb
Add PGPPacket._symmetric_key_algorithms

From RFC 4880 [1]:

       ID           Algorithm
       --           ---------
       0          - Plaintext or unencrypted data
       1          - IDEA [IDEA]
       2          - TripleDES (DES-EDE, [SCHNEIER] [HAC] -
                    168 bit key derived from 192)
       3          - CAST5 (128 bit key, as per [RFC2144])
       4          - Blowfish (128 bit key, 16 rounds) [BLOWFISH]
       5          - Reserved
       6          - Reserved
       7          - AES with 128-bit key [AES]
       8          - AES with 192-bit key
       9          - AES with 256-bit key
       10         - Twofish with 256-bit key [TWOFISH]
       100 to 110 - Private/Experimental algorithm

[1]: http://tools.ietf.org/search/rfc4880#section-9.2
gpg-migrate.py