pedersen
felt252 values.
The Pedersen hash function is a collision-resistant cryptographic hash function that takes two field elements as input and produces a single field element as output.
Parameters
a: felt252- The first input valueb: felt252- The second input value
Returns
felt252- The Pedersen hash of the two input values
Example
Related
HashState- For computing Pedersen hashes of multiple valuesPedersenTrait- Trait for creating new hash states