← All docs
hash_update()
Feeds data into an incremental hashing context. Provided by the compiler-injected hash prelude in compiled code.
hash_update()
function hash_update(HashContext $context, string $data): bool
Feeds data into an incremental hashing context. Provided by the compiler-injected hash prelude in compiled code.
Parameters:
$context(HashContext)$data(string)
Returns: bool
Availability
- Compiled (AOT): supported through the compiler-injected hash prelude.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/hash_update.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how hash_update is implemented in the compiler, see the internals page.