cryprot_core/
random_oracle.rs

1//! Aliases to Blake3 as a random oracle.
2
3pub type RandomOracle = blake3::Hasher;
4pub type Hash = blake3::Hash;
5
6/// Hash the input bytes using a random oracle.
7pub fn hash(input: &[u8]) -> Hash {
8    blake3::hash(input)
9}