CoreFiles by mySites.guru
HS1.php27 lines, 469 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
ef8f210ce0e8967e74bafdd1e411d612
sha1
79c705e0dae292a07ef3b618656aa7eb7a518122
sha256
260079c233ef5403654fc51512b4c515fc18581df61032d3045fd71627f8bd06
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2020 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Jose\Component\Signature\Algorithm;

final class HS1 extends HMAC
{
    public function name(): string
    {
        return 'HS1';
    }

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

The same content is in 75 releases, Joomla 4.2.0-beta3 to 4.4.14. See them all, or every version of this file.