CoreFiles by mySites.guru
HS512.php30 lines, 459 bytes, from Joomla_6.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 6.0.0-alpha2
md5
95dcd3d2211d7600f8947a28cf94401e
sha1
f743f904941ed91ef5d5c72a769b17e5326ad369
sha256
76de82affe65f1fe50a07336a5211fc2ce969e7df111e2401ab81282e7a35dba
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Mac;

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

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

    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 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.