CryptoSys API Library Manual

Aes256.InitEncrypt Method (String, Mode, String)

Initialises 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
Cipher mode
ivHex
IV in hex-encoded format

Return Value

0 if successful or non-zero error code

[Contents] [Index]

[HOME]   [NEXT: Aes256.Instance Method...]

Copyright © 2001-9 D.I. Management Services Pty Ltd. All rights reserved.