Skip to main content

Crate slahasher

Crate slahasher 

Source
Expand description

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.

Re-exports§

pub use hash::Hash;
pub use hash_algorithm::HashAlgorithm;
pub use hashable::Hashable;
pub use hasher::Hasher;
pub use keccak256::Keccak256;
pub use keccak384::Keccak384;
pub use keccak512::Keccak512;
pub use ripemd160::Ripemd160;
pub use sha256::Sha256;

Modules§

hash
Core hash value type and traits.
hash_algorithm
Supported hash algorithms.
hashable
hashable trait
hasher
Hasher trait.
keccak256
Keccak-256 hash implementation.
keccak384
Keccak-384 hash implementation.
keccak512
Keccak-512 hash implementation.
ripemd160
RIPEMD-160 hash implementation.
sha256
SHA-256 hash implementation.