CipherInitDecrypt(String, String, CipherAlgorithm, Mode) Method |
Initializes with hex-encoded 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(
string keyHex,
string ivHex,
CipherAlgorithm cipherAlg,
Mode mode
)
Public Function InitDecrypt (
keyHex As String,
ivHex As String,
cipherAlg As CipherAlgorithm,
mode As Mode
) As Boolean
Parameters
- keyHex String
- Hex-encoded key of exact length for block cipher algorithm.
- ivHex String
- Hex-encoded Initialization Vector (IV) of exactly the block size or "" for ECB mode.
- cipherAlg CipherAlgorithm
- Cipher algorithm
- mode Mode
- Cipher mode
Return Value
BooleanTrue if successful, False if failed.
See Also