This is a convenience function to calculate a hash using the template API. Every digest passing the isDigest test can be used with this function.
an InputRange with ElementType ubyte, ubyte[] or ubyte[num]
import std.digest.md; import std.range : repeat; auto testRange = repeat!ubyte(cast(ubyte)'a', 100); auto md5 = digest!MD5(testRange);
See Implementation
This is a convenience function to calculate a hash using the template API. Every digest passing the isDigest test can be used with this function.