Whats new in version 2.6.1:
- Experimental releaseThis introduces a new API for AEAD modes, and
- makes a few other minor API changesThese APIs should be considered
- experimental, and may be changed before the final release
- New API for authenticated encryption with associated data (AEAD):
- New block cipher modes:
- MODE_CCM
- MODE_EAX
- MODE_GCM
- MODE_SIV
- New methods:
- encrypt_and_digest()
- decrypt_and_verify()
- digest()
- verify()
- New MAC algorithm:
- CryptoCipherCMAC
- New verify() and hexverify() methods also added to Hash and
- HMAC/CMAC objects, providing constant-time hash comparison
- (Thanks: Legrandin, Lucas Garron)
- LP#1132550: Fix MODE_OPENPGP not accepting uppercase 'IV' kwarg
- LP#1119552: Fix PKCS#1v15 not accepting signatures without the
- optional NULL parameter
- Add support for import/export of DSA keys(Thanks: Legrandin)
- Add support for PKCS#8-encrypted private keys(Thanks: Legrandin)
- LP#996193: Fix MODE_OFB requiring padding (it now behaves as a stream
- cipher)
- Improve C extension autodocs
- Remove pointless 'error' attribute ...
Publisher review:Pycrypto provides you with a large collection of secure hash functions and multiple encryption algorithms.
The pycrypto packages was carefully structured in such a way in order for you to easily add new modules.
Pycrypto includes multiple packages such as Cipher, containing secret and public key encryption algorithms, Hash, which includes multiple hash algorithms and Protocol that provides a large number of cryptographic protocols.
Besides that,it also includes a public key encryption and signature algorithms, as well as multiple useful functions and modules like number generation, theoretic functions and long to string conversion.
You can use some of the Pycrypto modules for writing administration tools, servers and daemons, as well as other types of software relying on security and encryption.
Pycrypto also implements public key algorithms based on the Python framework which is suitable for experimenting with cryptographic algorithms.
In order to install Pycrypto you must have Python 2 or later already available on your Mac. All modules are packaged using the Distutils, so you can easily run the setup.py package in order to build and install.
Operating system:Mac OS X