CoreFiles by mySites.guru
UnsafeSha256.php27 lines, 465 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
97708b02d38b0c6ee2144aa660c47ed7
sha1
3905edec34a5484005dd851bb54bfc344536d64f
sha256
22369d3bb74f3354904fc6509435f5436e666d418e354dd8c9a8438dc051f4ee
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Ecdsa;

use Lcobucci\JWT\Signer\UnsafeEcdsa;

use const OPENSSL_ALGO_SHA256;

/** @deprecated Deprecated since v4.2 */
final class UnsafeSha256 extends UnsafeEcdsa
{
    public function algorithmId(): string
    {
        return 'ES256';
    }

    public function algorithm(): int
    {
        return OPENSSL_ALGO_SHA256;
    }

    public function pointLength(): int
    {
        return 64;
    }
}

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.