stymiee/php-simple-encryption

View on GitHub
CHANGELOG

Summary

Maintainability
Test Coverage
VERSION 1.0.7 - 2021-08-30
-----------------------------------------------------------------------------------------------------------------------
Changed RuntimeException to GenerateIvException when unable to generate an IV


VERSION 1.0.6 - 2021-04-18
-----------------------------------------------------------------------------------------------------------------------
Added AES-128-CBC-HMAC-SHA1, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA1, AES-256-CBC-HMAC-SHA256,
      AES-128-OCB, AES-192-OCB, AES-256-OCB algorithms (now supports 139 ciphers)


VERSION 1.0.5 - 2021-03-08
-----------------------------------------------------------------------------------------------------------------------
Throw Exception if unable to encrypt or decrypt


VERSION 1.0.4 - 2020-11-25
-----------------------------------------------------------------------------------------------------------------------
Throw Exception with a clear error message when trying to generate an IV for a cipher that does not require one
Updated HELP file with errors when calling ACipher::generateIv()


VERSION 1.0.3 - 2020-09-24
-----------------------------------------------------------------------------------------------------------------------
Added DES-EDE, DES-EDE3, RC4, RC4-40, RC4-HMAC-MD5 algorithms (now supports 132 ciphers)
Trimmed nulls from null padded strings (missed two traits)
Prepped OCB mode ciphers for when Openssl finishes support for them
Added phpDocumentor support


VERSION 1.0.2 - 2020-07-15
-----------------------------------------------------------------------------------------------------------------------
Added VERSION to assist with determining which default cipher was/is being used
Made cipher classes final as they should never be extended
Made exception classes final as they should never be extended


VERSION 1.0.1 - 2020-06-14
-----------------------------------------------------------------------------------------------------------------------
PSR-12 compliant
var_dump() on the encryption object will now provide the cipher name, block_size, and IV length (could be zero)
Fallback IV generator uses a stronger crypto friendly random number function
Updated HELP and support documentation
Added Github actions support in composer.json file (i.e. composer scripts)


VERSION 1.0.0 - 2020-05-29
-----------------------------------------------------------------------------------------------------------------------
Initial release with support for 127 ciphers