diff options
| author | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2009-02-28 13:14:53 -0500 |
|---|---|---|
| committer | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2009-02-28 13:14:53 -0500 |
| commit | ff8a657a8dd688551c59b4bbf7be33510992ee46 (patch) | |
| tree | fee3a96bc95fdfda34c18c2714a75105a713ad50 /lib/Crypto/Cipher | |
| parent | d1c4875e1f220652fe7ff8358f56dee3b2aba31b (diff) | |
| download | pycrypto-ff8a657a8dd688551c59b4bbf7be33510992ee46.tar.gz | |
cleanup: Move modules to "lib/Crypto" subdirectory.
This will avoid the previous situation where scripts like the old "test.py"
get included accidentally in a release. It also frees us to put additional
build scripts in the top-level directory of the source tree.
Diffstat (limited to 'lib/Crypto/Cipher')
| -rw-r--r-- | lib/Crypto/Cipher/__init__.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/Crypto/Cipher/__init__.py b/lib/Crypto/Cipher/__init__.py new file mode 100644 index 0000000..d66ad90 --- /dev/null +++ b/lib/Crypto/Cipher/__init__.py @@ -0,0 +1,33 @@ +"""Secret-key encryption algorithms. + +Secret-key encryption algorithms transform plaintext in some way that +is dependent on a key, producing ciphertext. This transformation can +easily be reversed, if (and, hopefully, only if) one knows the key. + +The encryption modules here all support the interface described in PEP +272, "API for Block Encryption Algorithms". + +If you don't know which algorithm to choose, use AES because it's +standard and has undergone a fair bit of examination. + +Crypto.Cipher.AES Advanced Encryption Standard +Crypto.Cipher.ARC2 Alleged RC2 +Crypto.Cipher.ARC4 Alleged RC4 +Crypto.Cipher.Blowfish +Crypto.Cipher.CAST +Crypto.Cipher.DES The Data Encryption Standard. Very commonly used + in the past, but today its 56-bit keys are too small. +Crypto.Cipher.DES3 Triple DES. +Crypto.Cipher.IDEA +Crypto.Cipher.RC5 +Crypto.Cipher.XOR The simple XOR cipher. +""" + +__all__ = ['AES', 'ARC2', 'ARC4', + 'Blowfish', 'CAST', 'DES', 'DES3', 'IDEA', 'RC5', + 'XOR' + ] + +__revision__ = "$Id$" + + |
