CoreFiles by mySites.guru
HS512.php34 lines, 578 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
b65cbd465ab47150cd96e9d3d8378cf7
sha1
7181e2a07c135aa2fa1dad35747da3da6a9ddad2
sha256
a50ee18fb5fe0dbca55f5bd894049cb9689e504ca882036c63b19ca36caf063c
<?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\Mac;

final class HS512 extends Hmac
{
    public const ID = 7;

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

    protected function getHashAlgorithm(): string
    {
        return 'sha512';
    }

    protected function getSignatureLength(): int
    {
        return 512;
    }
}

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.