Skip to content

libsodium.SKI.SecretStream.Write

Andrew Lambert edited this page Nov 26, 2022 · 4 revisions

Method Signatures

 Sub Write(Text As String) Implements Writeable.Write
 Sub Write(Text As String, AdditionalData As MemoryBlock)

Parameters

Write(String)

Name Type Comment
Text String The data to be encrypted.

Write(String, MemoryBlock)

Name Type Comment
Text String The data to be encrypted.
AdditionalData MemoryBlock Additional data that will be used to compute the authentication code.

Remarks

This method encrypts the Text and appends a message authentication code. If AdditionalData was specified then the AdditionalData is used when generating the authentication code (See: AEAD).

Clone this wiki locally