testDigest

Use this to tests Digest d with given input data and reference hashes.

version(unittest) @safe
void
testDigest
(
,
in string[] plaintext
,
in string[] hashes
)

Parameters

hashes
Type: string[]

expected hashes

Throws

AssertionError if generated hash != expected hash

Meta