Would it be possible to implement digest::DynDigest trait so that this hasher could be used in for example HashMaps which uses HashMap<&str, Box<dyn digest::DynDigest>> where you can iterate through multiple different hashers?
Sounds like a good idea to me. If we put the impl next to the Digest impl in src/traits.rs, it will be gated by the traits-preview feature automatically.
According to https://crates.io/crates/digest/reverse_dependencies this crate uses digest crate.
Would it be possible to implement
digest::DynDigest
trait so that this hasher could be used in for example HashMaps which usesHashMap<&str, Box<dyn digest::DynDigest>>
where you can iterate through multiple different hashers?