sodium_crypto_generichash_update

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

WordPress Version: 6.1

/**
 * @see ParagonIE_Sodium_Compat::crypto_generichash_update()
 * @param string|null $state
 * @param string $message
 * @return void
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_crypto_generichash_update(&$state, $message = '')
{
    ParagonIE_Sodium_Compat::crypto_generichash_update($state, $message);
}

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::crypto_generichash_update()
 * @param string|null $ctx
 * @param string $message
 * @return void
 * @throws SodiumException
 * @throws TypeError
 */
function sodium_crypto_generichash_update(&$ctx, $message = '')
{
    ParagonIE_Sodium_Compat::crypto_generichash_update($ctx, $message);
}