sodium_crypto_generichash_update

PHP 7 >= 7.2.0, PHP 8
sodium_crypto_generichash_update - Add message to a hash
Manual
Code Examples

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.

Example of sodium_crypto_generichash_update

Show all examples for sodium_crypto_generichash_update

PHP Version:


Function sodium_crypto_generichash_update:

Sodium Functions

Most used PHP functions