scsys_crypto/hash/traits/
hash.rs

1/*
2    appellation: hash <module>
3    authors: @FL03
4*/
5use super::hasher::Hasher;
6
7/// The [`Hash`] trait establishes a common interface for hashing types.
8pub trait Hash {
9    type Hasher: Hasher;
10    type Output;
11}
12
13#[doc(hidden)]
14// [`Hashable`] is a marker trait for types that can be hashed.
15pub trait Hashable {
16    private!();
17}