starknet_crypto

Function pedersen_hash

Source
pub fn pedersen_hash(x: &Felt, y: &Felt) -> Felt
Expand description

Computes the Starkware version of the Pedersen hash of x and y. All inputs are little-endian.

ยงParameters

  • x: The x coordinate.
  • y: The y coordinate.