CryptoSys API Library Manual
Aes192.InitEncrypt Method (String, Mode, String)
Initializes with hex key, mode and hex IV ready to start encrypting
Syntax
[C#]
public int InitEncrypt(
string keyHex,
Mode mode,
string ivHex
)
[VB.NET]
Public Function InitEncrypt ( _
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: AES192_InitHex
[Contents] [Index]