CryptoSys API Library Manual

Aes256.InitDecrypt Method (Byte[], Mode, Byte[])

Initializes with key, mode and IV ready to start decrypting

Syntax

[C#]
public int InitDecrypt(
	byte[] key,
	Mode mode,
	byte[] iv
)
[VB.NET]
Public Function InitDecrypt ( _
	key As Byte(), _
	mode As Mode, _
	iv As Byte() _
) As Integer

Parameters

key
Key of exactly 32 bytes (256 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: AES256_Init

[Contents] [Index]

[PREV: Aes256.FileEncrypt Method (String, String, String, Mode, String)...]   [Contents]   [Index]   
   [NEXT: Aes256.InitDecrypt Method (String, Mode, String)...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.