ParagonIE_Sodium_Core_Util::hash_update() – Catch hash_update() failures and throw instead of silently proceding
You appear to be a bot. Output may be restricted
Description
Catch hash_update() failures and throw instead of silently proceeding
Usage
$void = ParagonIE_Sodium_Core_Util::hash_update( $hs, $data );
Parameters
- $hs
- ( mixed ) required –
- $data
- ( string ) required –
Returns
void
Source
File name: wordpress/wp-includes/sodium_compat/src/Core/Util.php
Lines:
1 to 6 of 6
protected static function hash_update(&$hs, $data) { if (!hash_update($hs, $data)) { throw new SodiumException('hash_update() failed'); } }