zendframework/zf2 — pull request #1212 by ezimuel (2012-05-12 07:40:57+00:00)
Title: New Zend\Crypt + refactor Zend/Crypt/Math in Zend/Math

New Zend\Crypt component:
- moved RSA and DiffieHellman in Zend\Crypt\PublicKey;
- added the namespace Zend\Crypt\Symmetric for symmetric ciphers (like AES, BLOWFISH, etc).
- added the namespace Zend\Crypt\Password for algorithm about password (like BCrypt);
- added the namespace Zend\Crypt\Key\Derivation for Key Derivation Function (like PBKDF2);
- new component Zend\Crypt\BlockCipher for encryption/decryption using block cipher then authenticate using HMAC;
- added the namespace Zend\Password for algorithm about password (like BCrypt);
- deleted the Zend\Crypt\Crypt;

New Zend\Math namespace:
- Moved the old Zend\Crypt\Math in Zend\Math;
- refactor the random number generator using more robust entropy sources (OpenSSL, Mcrypt, \dev\urandom);