-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.IncrementNonce
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
libsodium.IncrementNonce
Protected Function IncrementNonce(Nonce As MemoryBlock) As MemoryBlock
Name | Type | Comment |
---|---|---|
Nonce | MemoryBlock | The nonce to increment |
The incremented nonce, or Nil
on error.
This method increments the Nonce
. This allows two users to generate the same sequence of nonces from an original, shared, nonce. Nonces do not need to be secret or unpredictable, but must not be used twice with the same key.
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.