Viewing File: /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/lcobucci/jwt/src/Signer/Rsa/Sha256.php

<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Rsa;

use Lcobucci\JWT\Signer\Rsa;

use const OPENSSL_ALGO_SHA256;

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

    public function algorithm(): int
    {
        return OPENSSL_ALGO_SHA256;
    }
}
Back to Directory File Manager