CoreFiles by mySites.guru
A128CBCHS256.php28 lines, 467 bytes, from Joomla_5.2.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 5.2.0-alpha1
md5
c4ef3300b42796ecf80c14af67282da0
sha1
e769cc35c6ab1b37ba0929c1da9800fdd70580f0
sha256
2852153eb16715df93a6ed80f892ecbd2f2e1b8af43e66c82cac442fb0edfe92
<?php

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;

final class A128CBCHS256 extends AESCBCHS
{
    public function getCEKSize(): int
    {
        return 256;
    }

    public function name(): string
    {
        return 'A128CBC-HS256';
    }

    protected function getHashAlgorithm(): string
    {
        return 'sha256';
    }

    protected function getMode(): string
    {
        return 'aes-128-cbc';
    }
}

The same content is in 135 releases, Joomla 5.1.0-beta1 to 6.2.1. See them all, or every version of this file.