WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_Util::hash_update() protected WP 1.0

Catch hash_update() failures and throw instead of silently proceding

{} It's a method of the class: ParagonIE_Sodium_Core_Util{}

No Hooks.


null. Nothing.


$result = ParagonIE_Sodium_Core_Util::hash_update( $hs, $data );
$hs (required) (passed by reference — &)
$data(string) (required)

Code of ParagonIE_Sodium_Core_Util::hash_update() WP 5.8.2

protected static function hash_update(&$hs, $data)
    if (!hash_update($hs, $data)) {
        throw new SodiumException('hash_update() failed');