Constant miden_core::chiplets::hasher::STATE_WIDTH
source · pub const STATE_WIDTH: usize = Hasher::STATE_WIDTH; // 12usize
Expand description
Number of field element needed to represent the sponge state for the hash function.
This value is set to 12: 8 elements are reserved for rate and the remaining 4 elements are reserved for capacity. This configuration enables computation of 2-to-1 hash in a single permutation.