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]