CoreFiles by mySites.guru
HS384.php30 lines, 459 bytes, from Joomla_5.4.11-Stable-Full_Package.zip
Raw History Compare with 5.4.10
md5
1f4faabdab6af9c84338d3d6d191f34c
sha1
cbf1c90cec8907f1d47d99872ca1a9b65ef302eb
sha256
1a9eeb5b8b9591a91d88efd5cda14c0c09d9b1b18fc7c590d677ae57cad77a6f
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Mac;

final class HS384 extends Hmac
{
    public const ID = 6;

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

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

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

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

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