__init__.py
来自「python的加密库」· Python 代码 · 共 34 行
PY
34 行
"""Secret-key encryption algorithms.Secret-key encryption algorithms transform plaintext in some way thatis dependent on a key, producing ciphertext. This transformation caneasily be reversed, if (and, hopefully, only if) one knows the key.The encryption modules here all support the interface described in PEP272, "API for Block Encryption Algorithms".If you don't know which algorithm to choose, use AES because it'sstandard and has undergone a fair bit of examination.Crypto.Cipher.AES Advanced Encryption StandardCrypto.Cipher.ARC2 Alleged RC2Crypto.Cipher.ARC4 Alleged RC4Crypto.Cipher.BlowfishCrypto.Cipher.CASTCrypto.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.IDEACrypto.Cipher.RC5Crypto.Cipher.XOR The simple XOR cipher."""__all__ = ['AES', 'ARC2', 'ARC4', 'Blowfish', 'CAST', 'DES', 'DES3', 'IDEA', 'RC5', 'XOR' ]__revision__ = "$Id: __init__.py,v 1.7 2003/02/28 15:28:35 akuchling Exp $"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?