WordPress at Your Fingertips
function is not described

Sodium

crypto_generichash() WP 1.0

No Hooks.

Return

String.

Usage

crypto_generichash( $message, $key, $outLen );
$message(string) (required)
-
$key *(string null)*

Default: null

$outLen(int)
-
Default: 32

Notes

Code of crypto_generichash() WP 5.8.2

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