CryptoSys API Library Manual

Gcm.NextDecrypt Method

Carries out the GCM decryption operation using the key set up by an earlier call to Gcm.InitKey.

Syntax

[C#]
public byte[] NextDecrypt(
	byte[] input,
	byte[] iv,
	byte[] aad,
	byte[] tag
)
[VB.NET]
Public Function NextDecrypt ( _
	input As Byte(), _
	iv As Byte(), _
	aad As Byte(), _
	tag As Byte() _
) As Byte()

Parameters

input
Cipher text input data
iv
Initialization vector.
aad
Additional authentication data (optional). Pass null to ignore.
tag
Tag value (required)

Return Value

Decrypted plaintext in byte array, or empty array on error

See Also

VB6/C equivalent: GCM_NextDecrypt

[Contents] [Index]

[HOME]   [NEXT: Gcm.NextEncrypt Method...]

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