CoreFiles by mySites.guru
UnsafeSha512.php27 lines, 466 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
975c8b0756b67ee3d2f76891bf32ec35
sha1
b2572de4911c8e2d317f7d6711856b1899b18d75
sha256
7d5282e8bc74aa2eac764cbe43397a70bd8d7c216e2ee43b0b22a8a0b42b0cf7
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Ecdsa;

use Lcobucci\JWT\Signer\UnsafeEcdsa;

use const OPENSSL_ALGO_SHA512;

/** @deprecated Deprecated since v4.2 */
final class UnsafeSha512 extends UnsafeEcdsa
{
    public function algorithmId(): string
    {
        return 'ES512';
    }

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

    public function pointLength(): int
    {
        return 132;
    }
}

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.