1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Hashing functions and hash value types.
//!
//! This crate provides implementations of a small set of cryptographic hash algorithms and a
//! common [`Hash`] type for working with computed digests.
/// Core hash value type and traits.
/// Supported hash algorithms.
/// Hasher trait.
/// Keccak-256 hash implementation.
/// Keccak-384 hash implementation.
/// Keccak-512 hash implementation.
/// RIPEMD-160 hash implementation.
/// SHA-256 hash implementation.
/// hashable trait
pub use Hash;
pub use HashAlgorithm;
pub use Hashable;
pub use Hasher;
pub use Keccak256;
pub use Keccak384;
pub use Keccak512;
pub use Ripemd160;
pub use Sha256;