Skip to main content

build_expected_perm

Function build_expected_perm 

Source
pub fn build_expected_perm(values: &[u64]) -> [Felt; 12]
Expand description

Given a hasher state, perform one permutation.

This helper reconstructs that state, applies a permutation, and returns the resulting [RATE0',RATE1',CAP'] back in stack order.