HashDB defines a common interface for databases of byte-slices keyed to their hash. It is generic over hash type through the Hasher trait.
HashDB
Hasher
The Hasher trait can be used in a no_std context.
no_std