Skip to main content

Module poseidon2

Module poseidon2 

Source
Expand description

An AIR operation for the Poseidon2 hash function.

Modules§

air
The operations that comprise the Poseidon2 hash function.
permutation
AIR columns for the Poseidon2 hash function.
trace
Trace (witness) population functions for the Poseidon2 operation.

Structs§

Poseidon2Operation
A set of columns needed to compute the Poseidon2 operation.

Constants§

NUM_EXTERNAL_ROUNDS
The number of external rounds.
NUM_INTERNAL_ROUNDS
The number of internal rounds.
NUM_POSEIDON2_OPERATION_COLUMNS
The number of columns in the Poseidon2 operation.
NUM_ROUNDS
The total number of rounds.
RATE
The rate of the permutation.
WIDTH
The width of the permutation.