Module 0x2::poseidon
Module which defines instances of the poseidon hash functions.
use 0x2::bcs;
Constants
The field size for BN254 curve.
const BN254_MAX: u256 = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
Error if an empty vector is passed as input.
const EEmptyInput: u64 = 1;
Error if any of the inputs are larger than or equal to the BN254 field size.
const ENonCanonicalInput: u64 = 0;