CoreFiles by mySites.guru
HS384.php34 lines, 578 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
551536793d394f1beb979f2441fed0ee
sha1
91454d6a12b2884a48c565f89b428a0f67bcdc43
sha256
dcd31e3e145972d1a83b02f6185d9b0a219aab0307197918a0ffa4ca1201b3af
<?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 HS384 extends Hmac
{
    public const ID = 6;

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