CoreFiles by mySites.guru
RS512.php29 lines, 516 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
5afbf34bf7d5922a373f7b4e6519bf50
sha1
d1bb2087567eee75e55c67472c697546d66466ce
sha256
d2b45b0f7729b634bc6efeff2956596ac3d372f7111cc30c2594eef42bdcabf4
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2019 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Cose\Algorithm\Signature\RSA;

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

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

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

The same content is in 131 releases, Joomla 4.0.0-beta to 4.4.14. See them all, or every version of this file.