The string-to-key algorithm needs to know the key size, so record an
algorithm's key size (in bits) for easy lookup. The AES key sizes
seem pretty obvious ;).
'tripledes': _crypto_cipher_des3,
}
'tripledes': _crypto_cipher_des3,
}
+ _key_size = { # in bits
+ 'aes with 128-bit key': 128,
+ 'aes with 192-bit key': 192,
+ 'aes with 256-bit key': 256,
+ }
+
_compression_algorithms = {
0: 'uncompressed',
1: 'zip',
_compression_algorithms = {
0: 'uncompressed',
1: 'zip',