Skip to main content

apply_round

Function apply_round 

Source
pub fn apply_round(state: &mut [Felt; 12], round: usize)
Expand description

Applies a single Poseidon2 “step” to the provided state.

The step number must be specified via round parameter, which must be between 0 and 30 (both inclusive).