CoreFiles by mySites.guru
RSAOAEP384.php26 lines, 508 bytes, from Joomla_5.1.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta3
md5
801f1a82c2e7e59042a73bc0bdc5e6c7
sha1
f87186cecea3391cdf7706cb83a996e054573ece
sha256
bb77f0994ce779f0e18e6a42cc4e6c2b364317a3c296ce8be5e0d6e3c39dbf95
<?php

declare(strict_types=1);

namespace Jose\Experimental\KeyEncryption;

use Jose\Component\Encryption\Algorithm\KeyEncryption\RSA;
use Jose\Component\Encryption\Algorithm\KeyEncryption\Util\RSACrypt;

final class RSAOAEP384 extends RSA
{
    public function getEncryptionMode(): int
    {
        return RSACrypt::ENCRYPTION_OAEP;
    }

    public function getHashAlgorithm(): string
    {
        return 'sha384';
    }

    public function name(): string
    {
        return 'RSA-OAEP-384';
    }
}

No other release has this exact content. See every version of this file.