hash_to_field

Function hash_to_field 

Source
pub fn hash_to_field(data: &[u8]) -> Field
Expand description

Hash arbitrary data to a field element.

This is used to create signal_hash and external_nullifier_hash.