ROUND_CONSTANTS

Constant ROUND_CONSTANTS 

Source
pub const ROUND_CONSTANTS: &[Elem];
Expand description

Round constants used in the Poseidon2 permutation.

These constants are added to the state during each round of the permutation. The number of constants must match the number of total rounds multiplied by the number of cells (CELLS).

These constants are derived from a trusted setup or generated via secure pseudorandom methods. See the Poseidon2 paper for details on round constants’ role in cryptographic security.

This array is hidden from the public API but is essential to the internal functioning of the hash.