CoreFiles by mySites.guru
A256CBCHS512.php28 lines, 467 bytes, from Joomla_6.0.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 5.4.0-alpha3
md5
9f3be2d020c3d565490d4a1c1322c4d3
sha1
70031b87a300f6562ee9dac0d1d149a3df248a18
sha256
56dbe5c658e118dfd8b45604044756301a5a736acdbf8ce57209004982f90e3a
<?php

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\ContentEncryption;

final class A256CBCHS512 extends AESCBCHS
{
    public function getCEKSize(): int
    {
        return 512;
    }

    public function name(): string
    {
        return 'A256CBC-HS512';
    }

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

    protected function getMode(): string
    {
        return 'aes-256-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.