CoreFiles by mySites.guru
UnsafeSha512.php22 lines, 388 bytes, from Joomla_6.0.2-Stable-Full_Package.zip
Raw History Compare with 6.0.1
md5
2f73ca0d94c0422a2b96db7a12949303
sha1
06b8e0fb168f3ab9db0bb59615c473bec32430a9
sha256
ed00c9edb37acc1c6b6ce813314688ea4e5baeb0ce502717aa972cfb60b71815
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Rsa;

use Lcobucci\JWT\Signer\UnsafeRsa;

use const OPENSSL_ALGO_SHA512;

/** @deprecated Deprecated since v4.2 */
final class UnsafeSha512 extends UnsafeRsa
{
    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.