CoreFiles by mySites.guru
UnsafeSha256.php25 lines, 421 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
dae108f4a72b3eb8cfd6b36fa24cc985
sha1
ffac3b4cbff1a3ad53bac5b165b181dcd848f07b
sha256
56d464599b0895550775ae2d3f867261f792079724b89874a9f5d24528c2a525
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Hmac;

use Lcobucci\JWT\Signer\Hmac;

/** @deprecated Deprecated since v4.2 */
final class UnsafeSha256 extends Hmac
{
    public function algorithmId(): string
    {
        return 'HS256';
    }

    public function algorithm(): string
    {
        return 'sha256';
    }

    public function minimumBitsLengthForKey(): int
    {
        return 1;
    }
}

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