testHMac

Tests Digest d with given input data and reference hashes.

version(unittest) @safe
void
testHMac
(
Digest
)
(
string[] keys
,
string[] datas
,
string[] hashes
)
if (
isStdDigest!Digest
)

Parameters

keys
Type: string[]

MAC keys.

datas
Type: string[]

Test vector input data.

hashes
Type: string[]

Expected hashes.

Meta