CoreFiles by mySites.guru
Sha512.php21 lines, 329 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
df20bd3e02d1db52129b4aacdb24ab48
sha1
387f88f44e6cb3bd1c6eb550b422aeeb38b69ca3
sha256
949df3f6799cc8e69dca9729ef88a6ec7bfdb349a02324fbe30db2bb2fb0acce
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Rsa;

use Lcobucci\JWT\Signer\Rsa;

use const OPENSSL_ALGO_SHA512;

final class Sha512 extends Rsa
{
    public function algorithmId(): string
    {
        return 'RS512';
    }

    public function algorithm(): int
    {
        return OPENSSL_ALGO_SHA512;
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.