MessageAuthenticationCode.verifyMac

Verify a MAC.

interface MessageAuthenticationCode
public final
bool
verifyMac
(
const(ubyte)* mac
,
size_t length
)

Parameters

mac const(ubyte)*

the MAC to verify as a ubyte array

length size_t

the length of param in

Return Value

Type: bool

true if the MAC is valid, false otherwise

Meta