CoreFiles by mySites.guru
PBES2HS512A256KW.php30 lines, 510 bytes, from Joomla_5.2.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 5.2.0-alpha1
md5
0ad2e4566c958fddccd3da77a66a6627
sha1
8cf527f58c9b40728dbb36d9dedebad1aa8427fb
sha256
9a57570cc5c49926c804ee1fa3332e5f60e5a5a54ae7bc1547988a7f7be0e955
<?php

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\KeyEncryption;

use AESKW\A256KW as Wrapper;

final class PBES2HS512A256KW extends PBES2AESKW
{
    public function name(): string
    {
        return 'PBES2-HS512+A256KW';
    }

    protected function getWrapper(): Wrapper
    {
        return new Wrapper();
    }

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

    protected function getKeySize(): int
    {
        return 32;
    }
}

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.