starknet_crypto

Function poseidon_hash_many

Source
pub fn poseidon_hash_many<'a, I: IntoIterator<Item = &'a Felt>>(msgs: I) -> Felt
Expand description

Computes the Starknet Poseidon hash of an arbitrary number of Felts.

Using this function is the same as using PoseidonHasher.