Skip to main content
A trait for hashing values using a felt252 as hash state, used for backwards compatibility. NOTE: Implement Hash instead of this trait if possible.

Signature

Trait functions

hash

Takes a felt252 state and a value of type T and returns the hash result.

Signature

Examples