Poly1305Init Method

Initialises the Poly1305 MAC.

Definition

Namespace: Org.BouncyCastle.Crypto.Macs
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public void Init(
	ICipherParameters parameters
)

Parameters

parameters  ICipherParameters
a {@link ParametersWithIV} containing a 128 bit nonce and a {@link KeyParameter} with a 256 bit key complying to the {@link Poly1305KeyGenerator Poly1305 key format}.

Implements

IMacInit(ICipherParameters)

See Also