CryptoSys API Library Manual
Tdea.InitDecrypt Method (String, Mode, String)
Initializes with hex key, mode and hex IV ready to start decrypting
Syntax
[C#]
public int InitDecrypt(
string keyHex,
Mode mode,
string ivHex
)
[VB.NET]
Public Function InitDecrypt ( _
keyHex As String, _
mode As Mode, _
ivHex As String _
) As Integer
Parameters
- keyHex
- Key in hex-encoded format
- mode
- Type: Mode
Cipher mode
- ivHex
- IV in hex-encoded format
Return Value
Zero (0) if successful; otherwise it returns a nonzero
error code
See Also
VB6/C equivalent: TDEA_InitHex
[Contents] [Index]