CoreFiles by mySites.guru
Sha256.php24 lines, 376 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
4eec63bd4df5d7a1254b77f3aeb14650
sha1
6ebe84e542a78a591a02d1ffd6a27dc4888ccb23
sha256
edc55614890f1ba5632c8ff20dda722207d14a7085451010d60207f796f91114
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Hmac;

use Lcobucci\JWT\Signer\Hmac;

final class Sha256 extends Hmac
{
    public function algorithmId(): string
    {
        return 'HS256';
    }

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

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

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.