Expand description
Constants used in Poseidon2 hash operations
Constants§
- BN256_
MOD_ BYTES - BN256 field modulus
Functions§
- bn256_
modulus - Get the BN256 modulus as U256
- get_
round_ constants_ t2 - Poseidon2 round constants for BN256 field These are the constants used in the Poseidon2 permutation for T=2
- get_
round_ constants_ t3 - Poseidon2 round constants for BN256 field with T=3 These are the constants used in the Poseidon2 permutation for T=3