CoreFiles by mySites.guru
UnsafeSha256.php22 lines, 388 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
3e285cee56d4fc8f3f268630593de443
sha1
4f6ab8a59c8b181d7ce40f6e2e48171f9e0d359b
sha256
916465fd3f7f0b531366a4da04929347f3f32312248c880ef7e2efafb813f129
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Rsa;

use Lcobucci\JWT\Signer\UnsafeRsa;

use const OPENSSL_ALGO_SHA256;

/** @deprecated Deprecated since v4.2 */
final class UnsafeSha256 extends UnsafeRsa
{
    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.