stymiee/php-simple-encryption

View on GitHub
src/Encryption/Cipher/DES/Desede.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Encryption\Cipher\DES;

use Encryption\Cipher\ACipherNoInitializationVector;
use Encryption\Traits\DecryptNoIV;
use Encryption\Traits\EncryptWithPaddingNoIV;

/**
 * Class Desede
 * @package Encryption\Cipher\DES
 * @since 1.0.3
 */
final class Desede extends ACipherNoInitializationVector
{
    use EncryptWithPaddingNoIV;
    use DecryptNoIV;

    public const BLOCK_SIZE = 8;
    public const IV_LENGTH = 0;
    public const CIPHER = 'DES-EDE';
}