crypto

Wrapper for OpenSSL Crypto Library


This package provides an objective wrapper for OpenSSL Crypto Library

License: PHP 3.01

Latest releases

Version Release Download
0.3.1 2016-12-15 crypto-0.3.1.tgz
0.3.0 2016-12-14 crypto-0.3.0.tgz
0.2.2 2015-11-25 crypto-0.2.2.tgz
0.2.1 2015-11-15 crypto-0.2.1.tgz
0.2.0 2015-11-15 crypto-0.2.0.tgz
Show all releases

Changelog

Version Message
0.3.1 * Fixed segfault on PHP 5 in setting KDF key length and PBKDF2 iterations
0.3.0 * Fixed compilation with OpenSSL 1.1 and PHP 7.1
* Added KDF abstract class to be a parent for all key derivation function classes
* Added PBKDF2 class extending KDF class and implementing PBKDF2
* Renamed HashException code ALGORITHM_NOT_FOUND to HASH_ALGORITHM_NOT_FOUND
* Renamed MACException code ALGORITHM_NOT_FOUND to MAC_ALGORITHM_NOT_FOUND
0.2.2 * Fixed missing CCM cipher algorithms with OpenSSL 1.0.1
0.2.1 * Fixed C89 compatibility issue in Base64
0.2.0 * Support for PHP 7
* Added Crypto stream BIO wrapper
* Improved error handling
* Added an integer overflow checking
* Removed Algorithm class and AlogirithmException class
* Introduced a MAC class as a subclass of Hash and parent of HMAC and CMAC
* Added MACException class subclassing HashException
* Fixed HMAC and CMAC implementation and added key param to constructor
* Fixed and tested CCM mode
* Added new error code for failed tag verification (TAG_VERIFY_FAILED)
* Add setTagLength Cipher method replacing length param in getTag
* Removed Rand::egd
* Created a complete API documentation
Show complete changelog