miden_crypto/hash/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Cryptographic hash functions used by the Miden VM and the Miden rollup.

use super::{CubeExtension, Felt, FieldElement, StarkField, ONE, ZERO};

pub mod blake;

mod rescue;
pub mod rpo {
    pub use super::rescue::{Rpo256, RpoDigest, RpoDigestError};
}

pub mod rpx {
    pub use super::rescue::{Rpx256, RpxDigest, RpxDigestError};
}

// RE-EXPORTS
// ================================================================================================

pub use winter_crypto::{Digest, ElementHasher, Hasher};