X

Create New Item

File Folder

X

Search Results

File "UnsafeSha256.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php
File size: 421 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?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;
    }
}