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
felt252
Hash
pub trait LegacyHash
T
fn hash(state: felt252, value: T) -> felt252
use core::pedersen::PedersenTrait; use core::hash::LegacyHash; let hash = LegacyHash::hash(0, 1);
Was this page helpful?