| 1 | """Secret-key encryption algorithms. |
|---|
| 2 | |
|---|
| 3 | Secret-key encryption algorithms transform plaintext in some way that |
|---|
| 4 | is dependent on a key, producing ciphertext. This transformation can |
|---|
| 5 | easily be reversed, if (and, hopefully, only if) one knows the key. |
|---|
| 6 | |
|---|
| 7 | The encryption modules here all support the interface described in PEP |
|---|
| 8 | 272, "API for Block Encryption Algorithms". |
|---|
| 9 | |
|---|
| 10 | If you don't know which algorithm to choose, use AES because it's |
|---|
| 11 | standard and has undergone a fair bit of examination. |
|---|
| 12 | |
|---|
| 13 | Crypto.Cipher.AES Advanced Encryption Standard |
|---|
| 14 | Crypto.Cipher.ARC2 Alleged RC2 |
|---|
| 15 | Crypto.Cipher.ARC4 Alleged RC4 |
|---|
| 16 | Crypto.Cipher.Blowfish |
|---|
| 17 | Crypto.Cipher.CAST |
|---|
| 18 | Crypto.Cipher.DES The Data Encryption Standard. Very commonly used |
|---|
| 19 | in the past, but today its 56-bit keys are too small. |
|---|
| 20 | Crypto.Cipher.DES3 Triple DES. |
|---|
| 21 | Crypto.Cipher.IDEA |
|---|
| 22 | Crypto.Cipher.RC5 |
|---|
| 23 | Crypto.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 | |
|---|