CoreFiles by mySites.guru
HS256Truncated64.php30 lines, 469 bytes, from Joomla_6.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 5.4.10-rc1
md5
a479eafd0f3dad250f5dc448071dddba
sha1
5973e0a9184b7168eb379df6ff285d9faf185d9d
sha256
8622fe6ea44424c0e7b42e9dc5e3c394920c6e7ca68e779383760137290930a9
<?php

declare(strict_types=1);

namespace Cose\Algorithm\Mac;

final class HS256Truncated64 extends Hmac
{
    public const ID = 4;

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

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

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

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

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.