Skip to main content

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.

Represents the current state of a Pedersen hash computation. The state is maintained as a single felt252 value, which is updated through the HashStateTrait::finalize method.

Signature


#[derive(Copy, Drop, Debug)]
pub struct HashState {
    pub state: felt252,
}

Members

state

The current hash state

Signature

pub state: felt252