-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.SKI.SecretStream.Write
Andrew Lambert edited this page Nov 26, 2022
·
4 revisions
libsodium.SKI.SecretStream.Write
Sub Write(Text As String) Implements Writeable.Write
Sub Write(Text As String, AdditionalData As MemoryBlock)| Name | Type | Comment |
|---|---|---|
| Text | String | The data to be encrypted. |
| Name | Type | Comment |
|---|---|---|
| Text | String | The data to be encrypted. |
| AdditionalData | MemoryBlock | Additional data that will be used to compute the authentication code. |
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).
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.
- libsodium module
- FAQ
-
Examples
- Secure memory
- Password hashing
- Generic hashing
- Encrypting streams or files
- PKI
- Encryption
- Digital signatures
- SKI
- Encryption
- Message authentication