CoreFiles by mySites.guru
HasherInterface.php16 lines, 476 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
00b0db9fea4487c425e8d26eec703a96
sha1
fa5c2fc310b4170d449495dd2fc9bf9c90956f68
sha256
583fa152c3a8550dc12f99e15724d40c7d713eb390f61b07f96f12b0c06a1a89
<?php

declare(strict_types=1);

namespace AltchaOrg\Altcha\Hasher;

interface HasherInterface
{
    public function hash(Algorithm $algorithm, string $data): string;

    public function hashHex(Algorithm $algorithm, string $data): string;

    public function hashHmac(Algorithm $algorithm, string $data, #[\SensitiveParameter] string $hmacKey): string;

    public function hashHmacHex(Algorithm $algorithm, string $data, #[\SensitiveParameter] string $hmacKey): string;
}

The same content is in 32 releases, Joomla 6.1.0-alpha2 to 6.3.0-alpha1. See them all, or every version of this file.