Trait passwordmaker_rs::Hasher
source · Expand description
Trait you need to implement for the various hash functions you need to provide. Currently only a single function, that computes the hash of a string slice, is needed. This may change in a later version.
Beware: There is currently no way to put constraints on associated constants in Rust, so Block Size is not exposed. It’s anyhow the same (currently hardcoded) value for all supported algorithms.