CoreFiles by mySites.guru
ES512.php23 lines, 361 bytes, from Joomla_5.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.1.0-beta2
md5
8a4e0c650656476f4d4b46a64bfa395f
sha1
988081a19c12c0ca24ca89dbdbd14a1259e40494
sha256
f0d95b7ddb3e4a49674eb4b64fb31b5b14ee7224c8e890c9468e07b2967e3f1b
<?php

declare(strict_types=1);

namespace Jose\Component\Signature\Algorithm;

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

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

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

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.