Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Corelib
pub trait HashStateTrait
self
felt252
fn update(self: S, value: felt252) -> S
use core::pedersen::PedersenTrait; use core::hash::HashStateTrait; let mut state = PedersenTrait::new(0); state = state.update(1);
fn finalize(self: S) -> felt252
use core::pedersen::PedersenTrait; use core::hash::HashStateTrait; let mut state = PedersenTrait::new(0); let hash = state.finalize();
Was this page helpful?