CoreFiles by mySites.guru
Sha256.php21 lines, 329 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
104bd0ecfe8257fb9030966077eefe17
sha1
867eb4c4830c09bd66966631f11ba994b85b4c1d
sha256
a3e29f8b72f433e2aede4031a007c2553c33a20b5209939117dac420922bb8b3
<?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;
    }
}

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.