Function: blake2sHashMany()
blake2sHashMany(
data):bigint
Defined in: src/utils/hash/classHash/blake.ts:22
Blake2s hash function for Starknet that produces a field element. Matches the Blake2Felt252 implementation from Rust.
The implementation:
- Encodes each Felt into u32 words (small: 2 words, large: 8 words)
- Serializes u32 words as little-endian bytes
- Computes Blake2s hash (32-byte output)
- Interprets hash as little-endian Felt
Parameters
data
bigint[]
Returns
bigint