Skip to content

libsodium.KeyStream.Process

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

Method Signature

 Function Process(Data As MemoryBlock, Nonce As MemoryBlock) As MemoryBlock

Parameters

Name Type Comment
Data MemoryBlock The data to be processed.
Nonce MemoryBlock The nonce to use.

Return value

The processed data.

Remarks

Encrypts or decrypts the Data by XOR'ing it with the key stream and the Nonce.

See also

  • XSalsa20 in the libsodium documentation.
Clone this wiki locally