Function hash_elements

Source
pub fn hash_elements(elements: Vec<Felt>) -> Digest
Expand description

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

This maps to the std::crypto::rpo::hash_memory procedure in the Miden stdlib.

ยงArguments

  • elements - A slice of field elements to be hashed