Poly1305.initialize

void initialize(const(ubyte)[] key)

Initializes (or re-initializes) the Poly1305 MAC with the given key.

Parameters

keyA 32-byte one-time key.

Throws

CryptoException if the key is not exactly 32 bytes.