sodium_crypto_generichash

Advertisement

Syntax Syntax

sodium_crypto_generichash( string $message, string|null $key = null, int $outLen = 32 )

Parameters Parameters

$message

(Required)

$key

(Optional)

Default value: null

$outLen

(Optional)

Default value: 32

Return Return

(string)

Source Source

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

    function sodium_crypto_generichash($message, $key = null, $outLen = 32)
    {
        return ParagonIE_Sodium_Compat::crypto_generichash($message, $key, $outLen);
    }

Advertisement

See also See also

Advertisement

Leave a Reply