sodium_crypto_pwhash

Advertisement

Syntax Syntax

sodium_crypto_pwhash( int $outlen, string $passwd, string $salt, int $opslimit, int $memlimit, int|null $algo = null )

Parameters Parameters

$outlen

(Required)

$passwd

(Required)

$salt

(Required)

$opslimit

(Required)

$memlimit

(Required)

$algo

(Optional)

Default value: null

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/lib/php72compat.php

    function sodium_crypto_pwhash($outlen, $passwd, $salt, $opslimit, $memlimit, $algo = null)
    {
        return ParagonIE_Sodium_Compat::crypto_pwhash($outlen, $passwd, $salt, $opslimit, $memlimit, $algo);
    }

Advertisement

See also See also

Advertisement

Leave a Reply