-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.KeyStream.RandomNonce
Andrew Lambert edited this page Nov 26, 2022
·
8 revisions
Shared Function RandomNonce(Type As libsodium.KeyStream.StreamType = libsodium.KeyStream.StreamType.XSalsa20) As MemoryBlock
Name | Type | Comment |
---|---|---|
Type | StreamType | Optional. The cipher being used. If not specified then XSalsa20 is used. |
Unpredictable bytes that are suitable to be used as a Nonce with KeyStream.Process and KeyStream.DeriveKey
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.