Click or drag to resize

Aes256InitEncrypt(Byte, Mode, Byte) Method

Initializes with key, mode and IV ready to start encrypting

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public int InitEncrypt(
	byte[] key,
	Mode mode,
	byte[] iv
)

Parameters

key  Byte
Key of exactly 32 bytes (256 bits)
mode  Mode
Cipher Mode
iv  Byte
IV of exactly 16 bytes or null/Nothing for ECB mode

Return Value

Int32
Zero (0) if successful; otherwise it returns a nonzero error code
See Also