Aegis128x4MACState.this

Initializes the AEGIS-128x4 MAC state with the provided key and nonce.

struct Aegis128x4MACState
@nogc @trusted
this
(
const(ubyte)[] key
,
const(ubyte)[] nonce
)

Parameters

key const(ubyte)[]

The key (must be aegis128x4_KEYBYTES long).

nonce const(ubyte)[]

The nonce (must be aegis128x4_NPUBBYTES long).

Throws

AssertError if key or nonce lengths are invalid.

Meta