iota_crypto_preview/lib.rs
1//! This is a prototype for [PR #21], the RFC introducing the `Kerl` and `CurlP` hash functions
2//! implemented in terms of a common `Sponge` trait.
3//!
4//! The main focus of this prototype are the [`Sponge`] trait, and the [`CurlP`], and [`Kerl`]
5//! types. These are cryptographic hash functions that are sponge constructions implemented in
6//! terms of the trait.
7//!
8//! [PR #21]: https://github.com/iotaledger/bee-rfcs/pull/21
9
10mod curlp;
11mod kerl;
12mod sponge;
13mod sponge_type;
14
15pub use curlp::{
16 CurlP,
17 CurlP27,
18 CurlP81,
19};
20pub use kerl::Kerl;
21pub use sponge::Sponge;
22pub use sponge_type::SpongeType;