Click or drag to resize

AeadSetNonce Method

Set the nonce (in incremental mode)

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public int SetNonce(
	byte[] nonce
)

Parameters

nonce  Byte
Nonce of exact length for given algorithm (currently always 12 bytes)

Return Value

Int32
Zero (0) if successful; otherwise it returns a nonzero error code
Remarks
May be followed by zero or more calls to AddAAD() and then either StartEncrypt() or StartDecrypt().
See Also