A trait for creating a new Pedersen hash state.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.
A trait for creating a new Pedersen hash state.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.
pub impl PedersenImpl of PedersenTrait;
fn new(base: felt252) -> HashState
use core::pedersen::PedersenTrait;
let mut state = PedersenTrait::new(0);
assert!(state.state == 0);
Was this page helpful?