CoreFiles by mySites.guru
ES256.php23 lines, 360 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
71a041a9910588108b91b130bd8c6128
sha1
6a2ca4c14f2001ec96f17452b1a413a10e7e3d55
sha256
3d87396c0b4797d82c75ada7461f228996d67e0f4ad89bc0914293e68bf8dc33
<?php

declare(strict_types=1);

namespace Jose\Component\Signature\Algorithm;

final class ES256 extends ECDSA
{
    public function name(): string
    {
        return 'ES256';
    }

    protected function getHashAlgorithm(): string
    {
        return 'sha256';
    }

    protected function getSignaturePartLength(): int
    {
        return 64;
    }
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.