CoreFiles by mySites.guru
UnsafeSha512.php25 lines, 421 bytes, from Joomla_6.0.2-Stable-Full_Package.zip
Raw History Compare with 6.0.1
md5
273e6b93b0f906e35f638503e14e9d2f
sha1
6ca09be3ff5a5af5c40975c871c0a912de828a82
sha256
8007d670311b6755045f7ffceb4ec7b6b5a6ccf2832e5e7c3acaedbc038e119c
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Signer\Hmac;

use Lcobucci\JWT\Signer\Hmac;

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

    public function algorithm(): string
    {
        return 'sha512';
    }

    public function minimumBitsLengthForKey(): int
    {
        return 1;
    }
}

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.