CoreFiles by mySites.guru
RSAOAEP512.php26 lines, 508 bytes, from Joomla_5.1.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta3
md5
38d82eee0f5abf4630ffddc4f1e81507
sha1
a5fc59aef07c63a801c28be732647b0e2263629b
sha256
58645dc37b55c37229ecc4688fd2aa61abbeb6dc1b7e7a988cdc810b9a7448ca
<?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 RSAOAEP512 extends RSA
{
    public function getEncryptionMode(): int
    {
        return RSACrypt::ENCRYPTION_OAEP;
    }

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

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

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