putAll

Variadic 'put' helper function for MACs.

@safe
void
putAll
nothrow @nogc
(
M
T...
)
(
ref M mac
,
in T data
)
if ()

Parameters

mac
Type: M

The mac to put the data into.

data
Type: T

The data to update the mac with.

Examples

ubyte[4] buf; HMac!SHA256 mac; mac.putAll(cast(ubyte) 0x01, buf, buf[0..2]);

Meta