PedersenImpl

A trait for creating a new Pedersen hash state.

Fully qualified path: core::pedersen::PedersenImpl

pub impl PedersenImpl of PedersenTrait

Impl functions

new

Creates a new Pedersen hash state with the given base value. # Examples

let mut state = PedersenTrait::new(0);
assert!(state.state == 0);

Fully qualified path: core::pedersen::PedersenImpl::new

fn new(base: felt252) -> HashState