zendframework/zf2 — pull request #1935 by ezimuel (2012-07-20 09:36:14+00:00)
Title: Replaced the crypto and rand usage with Zend\Crypt and Zend\Math

I replaced the usage of cryptography and random number generation in the framework with Zend\Crypt and Zend\Math\Math.
I refactored the following components:
- replaced the Zend\Filter\Encrypt\Mcrypt with Zend\Filter\Encrypt\BlockCipher (this change improve the security of the encryption with the authentication CBC + HMAC)
- refactored the Zend\Filter\Encrypt and Decrypt;
- refactored the Zend\Filter\File\Encrypt and Decrypt;
- changed the usage of rand in Zend\Validator\Csrf with Zend\Math\Math::randBytes();
- changed the usage of rand in Zend\Captcha with Zend\Math\Math::randBytes().