#### /gdata/Crypto/Cipher/__init__.py

Python | 33 lines | 26 code | 0 blank | 7 comment | 1 complexity | c210e46948152f38107271fad6a088a6 MD5 | raw file

1"""Secret-key encryption algorithms. 2 3Secret-key encryption algorithms transform plaintext in some way that 4is dependent on a key, producing ciphertext. This transformation can 5easily be reversed, if (and, hopefully, only if) one knows the key. 6 7The encryption modules here all support the interface described in PEP 8272, "API for Block Encryption Algorithms". 9 10If you don't know which algorithm to choose, use AES because it's 11standard and has undergone a fair bit of examination. 12 13Crypto.Cipher.AES Advanced Encryption Standard 14Crypto.Cipher.ARC2 Alleged RC2 15Crypto.Cipher.ARC4 Alleged RC4 16Crypto.Cipher.Blowfish 17Crypto.Cipher.CAST 18Crypto.Cipher.DES The Data Encryption Standard. Very commonly used 19 in the past, but today its 56-bit keys are too small. 20Crypto.Cipher.DES3 Triple DES. 21Crypto.Cipher.IDEA 22Crypto.Cipher.RC5 23Crypto.Cipher.XOR The simple XOR cipher. 24""" 25 26__all__ = ['AES', 'ARC2', 'ARC4', 27 'Blowfish', 'CAST', 'DES', 'DES3', 'IDEA', 'RC5', 28 'XOR' 29 ] 30 31__revision__ = "$Id: __init__.py,v 1.7 2003/02/28 15:28:35 akuchling Exp $" 32 33