digest

fnDigestType!Hash digest(Hash, Range)(auto ref Range range) if (!isArray!Range && isDigestibleRange!Range)

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.

Parameters

rangean InputRange with ElementType ubyte, ubyte[] or ubyte[num]
fnDigestType!Hash digest(Hash, T...)(scope const T data) if (allSatisfy!(isArray, typeof(data)))

This overload of the digest function handles arrays.

Parameters

dataone or more arrays of any type