CoreFiles by mySites.guru
RS512.php27 lines, 429 bytes, from Joomla_6.2.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha1
md5
8df55fa94141fbbefb132f1ab07de565
sha1
fd3d2992965f67ff22c26562491a68b2f251cd93
sha256
87f79e12f4246bdb0bc7aa576b44f062839eeb51cf811feadc6a8f48f1e89598
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Signature\RSA;

use const OPENSSL_ALGO_SHA512;

final class RS512 extends RSA
{
    public const ID = -259;

    public static function create(): self
    {
        return new self();
    }

    public static function identifier(): int
    {
        return self::ID;
    }

    protected function getHashAlgorithm(): int
    {
        return OPENSSL_ALGO_SHA512;
    }
}

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