CoreFiles by mySites.guru
RSAOAEP.php25 lines, 464 bytes, from Joomla_5.2.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 5.1.0-alpha4
md5
65d604fa97de54033f336e6024d4c47e
sha1
5f7ceb29bed6206ab06223df0ffd8f696ee5c7d1
sha256
273712b2adeb405e059e77258c80cdb30e5fd6d32c8f252a2abbfdc820f8f325
<?php

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\KeyEncryption;

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

final class RSAOAEP extends RSA
{
    public function name(): string
    {
        return 'RSA-OAEP';
    }

    protected function getEncryptionMode(): int
    {
        return RSACrypt::ENCRYPTION_OAEP;
    }

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

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.