X

Create New Item

File Folder

X

Search Results

File "Sha512.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/lcobucci/jwt/src/Signer/Hmac/Sha512.php
File size: 376 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;

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

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

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