Expand description
Defines hash function traits.
Traits§
- Cryptographically
Secure Hash - A marker trait that ensures that the marked function is cryptographicall secure.
- Hash
Function - Represents a general hash function. Unlike
core::hash::Hashertrait it doesn’t mandate output type, except that it needs to be [AsRef<[u8]>]. This makes it suitable for implementing larger hash function like SHA.