CryptoSys API Library Manual

Aead.Update Method

Encrypts or decrypts a chunk of input (in incremental mode)

Syntax

[C#]
public byte[] Update(
	byte[] input
)
[VB.NET]
Public Function Update ( _
	input As Byte() _
) As Byte()

Parameters

input
Data to be encrypted or decrypted

Return Value

Encrypted or decrypted data in array of exactly the same length as input; or an empty array on error

Remarks

This function may be repeated to add data in chunks. The input data is encrypted or decrypted depending on the start mode set by a preceding call to StartEncrypt() or StartDecrypt(), respectively. It must eventually be followed by either FinishEncrypt() or FinishDecrypt(), which must match the start mode.

See Also

VB6/C equivalent: AEAD_Update

[Contents] [Index]

[PREV: Aead.StartEncrypt Method...]   [Contents]   [Index]   
   [NEXT: Aes128.Decrypt Method (Byte, Byte, Mode, Byte)...]

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