Skip to content

libsodium.GenericHashDigest.RandomKey

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

Method Signature

  Shared Function RandomKey(Type As libsodium.HashType = libsodium.HashType.Generic) As MemoryBlock

Parameters

Name Type Comment
Type HashType Optional. The type of hash (Default is BLAKE2b)

Return value

Unpredictable bytes suitable to be used as a key for keyed hashing.

Clone this wiki locally