hexDigest
fn
char[digestLength!(Hash) * 2] hexDigest(Hash, Order order = Order.increasing, Range)(ref Range range) if (!isArray!Range && isDigestibleRange!Range)This is a convenience function similar to digest, but it returns the string representation of the hash. Every digest passing the isDigest test can be used with this function.
Parameters
order | the order in which the bytes are processed (see toHexString) |
range | an InputRange with ElementType ubyte, ubyte[] or ubyte[num] |
fn
char[digestLength!(Hash) * 2] hexDigest(Hash, Order order = Order.increasing, T...)(scope const T data) if (allSatisfy!(isArray, typeof(data)))This overload of the hexDigest function handles arrays.
Parameters
order | the order in which the bytes are processed (see toHexString) |
data | one or more arrays of any type |