hash_words

Function hash_words 

Source
pub fn hash_words(words: &[Word]) -> Digest
Expand description

Computes the hash of a sequence of words using the Rescue Prime Optimized (RPO) hash function.

This maps to the std::crypto::rpo::hash_memory procedure in the Miden stdlib treating the words as an array of fielt elements.

ยงArguments

  • words - A slice of words to be hashed