-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.IncrementNonce
Andrew Lambert edited this page Jan 15, 2017
·
5 revisions
libsodium.IncrementNonce
##Method Signature
Protected Function IncrementNonce(Nonce As MemoryBlock) As MemoryBlock##Parameters
| Name | Type | Comment |
|---|---|---|
| Nonce | MemoryBlock | The nonce to increment |
##Return value
The incremented nonce, or Nil on error.
##Remarks
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.
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-26 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