CoreFiles by mySites.guru
RSA15.php25 lines, 460 bytes, from Joomla_5.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.1.0-beta2
md5
c8bd810fbc404ae9a239f94486149a72
sha1
b407e4525e86b7f743a09971e72596b453808b25
sha256
22cbe78bda3bdcb675f8be007c638e39ccad76e0aec332a7f40544f30f332fd2
<?php

declare(strict_types=1);

namespace Jose\Component\Encryption\Algorithm\KeyEncryption;

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

final class RSA15 extends RSA
{
    public function name(): string
    {
        return 'RSA1_5';
    }

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

    protected function getHashAlgorithm(): ?string
    {
        return null;
    }
}

The same content is in 106 releases, Joomla 5.1.0-beta1 to 6.2.0-alpha1. See them all, or every version of this file.