PMA\libraries\plugins\auth\AuthenticationCookie::enlargeSecret PHP Method

enlargeSecret() public method

This doesn't add any security, just ensures the secret is long enough by copying it.
public enlargeSecret ( string $secret ) : string
$secret string Original secret
return string
    public function enlargeSecret($secret)
    {
        while (strlen($secret) < 16) {
            $secret .= $secret;
        }
        return substr($secret, 0, 16);
    }