hash_update
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1)
Pump data into an active hashing context
Description
hash_update(HashContext $context, string $data): true
Parameters
contextHashing context returned by
hash_init().dataMessage to be included in the hash digest.
Return Values
Always
Changelog
| Version | Description |
|---|---|
| 8.4.0 | Now has a return type of true instead of bool. |
| 7.2.0 | Accept HashContext instead of resource. |