A trait for hash state accumulators. Provides methods to update a hash state with new values and finalize it into a hash result.Documentation Index
Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
Use this file to discover all available pages before exploring further.
Signature
Trait functions
update
Updates the current hash stateself with the given felt252 value and returns a new hash
state.
Signature
Examples
finalize
Takes the current stateself and returns the hash result.