CELLS

Constant CELLS 

Source
pub const CELLS: usize = 24;
Expand description

The number of state elements (also known as “cells”) used in the Poseidon2 hash function.

Poseidon2 operates over a fixed-width state, and CELLS defines that width. The value of 24 means that the internal state of the hash function consists of 24 elements over the BabyBear field. This directly affects security level and performance.