stymiee/php-simple-encryption

View on GitHub
src/Encryption/Cipher/AES/Aes256cbchmacsha1.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Encryption\Cipher\AES;

use Encryption\Cipher\ACipherWithInitializationVector;
use Encryption\Traits\Decrypt;
use Encryption\Traits\EncryptWithPadding;

/**
 * Class Aes256cbchmacsha1
 * @package Encryption\Cipher\AES
 */
final class Aes256cbchmacsha1 extends ACipherWithInitializationVector
{
    use Decrypt;
    use EncryptWithPadding;

    public const BLOCK_SIZE = 8;
    public const IV_LENGTH = 16;
    public const CIPHER = 'AES-256-CBC-HMAC-SHA1';
}