miden_crypto/hash/mod.rs
1//! Cryptographic hash functions used by the Miden protocol.
2
3use super::{CubeExtension, Felt, FieldElement, StarkField, ZERO};
4
5/// Blake2s hash function.
6pub mod blake;
7
8mod rescue;
9
10/// Rescue Prime Optimized (RPO) hash function.
11pub mod rpo {
12 pub use super::rescue::Rpo256;
13}
14
15/// Rescue Prime Extended (RPX) hash function.
16pub mod rpx {
17 pub use super::rescue::Rpx256;
18}
19
20// RE-EXPORTS
21// ================================================================================================
22
23pub use winter_crypto::{Digest, ElementHasher, Hasher};