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

(int) (Required)

$passwd

(string) (Required)

$salt

(string) (Required)

$opslimit

(int) (Required)

$memlimit

(int) (Required)

$algo

(int|null) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.