digest
fn
DigestType!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
range | an InputRange with ElementType ubyte, ubyte[] or ubyte[num] |
fn
DigestType!Hash digest(Hash, T...)(scope const T data) if (allSatisfy!(isArray, typeof(data)))This overload of the digest function handles arrays.
Parameters
data | one or more arrays of any type |