CipherInitDecrypt(Byte, Byte, CipherAlgorithm, Mode) Method |
Initializes with key, iv, algorithm and mode ready to start decrypting with repeated update operations.
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic bool InitDecrypt(
byte[] key,
byte[] iv,
CipherAlgorithm cipherAlg,
Mode mode
)
Public Function InitDecrypt (
key As Byte(),
iv As Byte(),
cipherAlg As CipherAlgorithm,
mode As Mode
) As Boolean
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
BooleanTrue if successful, False if failed.
See Also