Click or drag to resize

CipherInitDecrypt(Byte, Byte, CipherAlgorithm, Mode) Method

Initializes with key, iv, algorithm and mode ready to start decrypting with repeated update operations.

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public bool InitDecrypt(
	byte[] key,
	byte[] iv,
	CipherAlgorithm cipherAlg,
	Mode mode
)

Parameters

key  Byte
Key of exact length for block cipher algorithm.
iv  Byte
Initialization Vector (IV) of exactly the block size or null/Nothing for ECB mode.
cipherAlg  CipherAlgorithm
Cipher algorithm
mode  Mode
Cipher mode

Return Value

Boolean
True if successful, False if failed.
See Also