crypto_generichash_init

The timeline below displays how wordpress function crypto_generichash_init has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::crypto_generichash_init()
 * @param string|null $key
 * @param int $outLen
 * @return string
 * @throws \SodiumException
 * @throws \TypeError
 */
function crypto_generichash_init($key = null, $outLen = 32)
{
    return ParagonIE_Sodium_Compat::crypto_generichash_init($key, $outLen);
}