sodium_crypto_generichash_update
PHP 7 >= 7.2.0, PHP 8
sodium_crypto_generichash_update - Add message to a hash
Manual
sodium_crypto_generichash_update(
stringstate ,
string$message ): bool
Appends a message to the internal hash state.
Parameters
- state
-
The return value of sodium_crypto_generichash_init.
- message
-
Data to append to the hashing state.
Return Values
Returns true on success or false on failure.