for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AesExp.php
*
* PHP version 5
* @category Dcrypt
* @package Dcrypt
* @author Michael Meyer (mmeyer2k) <[email protected]>
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
* @link https://github.com/mmeyer2k/dcrypt
*/
namespace Dcrypt;
* Symmetric AES-256-CBC encryption functions powered by OpenSSL. This class
* will throw an exception on checksum inequality.
* @link https://apigen.ci/github/mmeyer2k/dcrypt/namespace-Dcrypt.html
class AesExp extends Aes
{
* Throw an invalid checksum exception.
protected static function invalidChecksum()
$e = 'Decryption can not proceed due to invalid cyphertext checksum.';
throw new \Exception($e);
}