WordPress at a glance
function is not described

sodium_crypto_generichash() WP 1.0

No Hooks.

Return

String. Null. Nothing.

Usage

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

Notes

  • See: ParagonIE_Sodium_Compat::crypto_generichash()

Code of sodium_crypto_generichash() WP 5.7

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