Skip to content

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

Clone this wiki locally