CoreFiles by mySites.guru
HS256Truncated64.php34 lines, 588 bytes, from Joomla_4.2.9-Stable-Full_Package.zip
Raw History Compare with 4.2.8
md5
74f96e31e6ec84ef5d2f523c2b20842d
sha1
4ba74931e9d9f8e5128580aad696a0a6c0201819
sha256
0b728c46bbbf209b580b7c0ce3dfd2c12a651dea316c0457aa9ee4e6715e6a51
<?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 HS256Truncated64 extends Hmac
{
    public const ID = 4;

    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 131 releases, Joomla 4.0.0-beta to 4.4.14. See them all, or every version of this file.