CryptoSys API Library Manual

Aead.StartDecrypt Method

Start authenticated decryption (in incremental mode)

Syntax

[C#]
public int StartDecrypt(
	byte[] tagToCheck
)
[VB.NET]
Public Function StartDecrypt ( _
	tagToCheck As Byte() _
) As Integer

Parameters

tagToCheck
Tag value to be authenticated

Return Value

Zero (0) if successful; otherwise it returns a nonzero error code

Remarks

May be followed by zero or more calls to Update() to decrypt data in chunks. Must eventually be followed by FinishDecrypt(). Caution: do not trust decrypted data until final authentication.

See Also

VB6/C equivalent: AEAD_StartDecrypt

[Contents] [Index]

[PREV: Aead.SetNonce Method...]   [Contents]   [Index]   
   [NEXT: Aead.StartEncrypt Method...]

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