CryptoSys API Library Manual
Aes192.InitEncrypt Method (Byte[], Mode, Byte[])
Initializes with key, mode and IV ready to start encrypting
Syntax
[C#]
public int InitEncrypt(
byte[] key,
Mode mode,
byte[] iv
)
[VB.NET]
Public Function InitEncrypt ( _
key As Byte(), _
mode As Mode, _
iv As Byte() _
) As Integer
Parameters
- key
- Key of exactly 24 bytes (192 bits)
- mode
- Type: Mode
Cipher Mode
- iv
- IV of exactly 16 bytes or null/Nothing for ECB mode
Return Value
Zero (0) if successful; otherwise it returns a nonzero
error code
See Also
VB6/C equivalent: AES192_Init
[Contents] [Index]