Skip to content

libsodium.GenericHashDigest.Constructor

Andrew Lambert edited this page Jan 5, 2017 · 11 revisions

##Method Signatures

 Sub Constructor(Type As libsodium.HashType = libsodium.HashType.Generic)
 Sub Constructor(KeyData As MemoryBlock, HashSize As UInt32)

##Parameters ####Constructor(libsodium.HashType)

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

####Constructor(MemoryBlock, UInt32)

Name Type Comment
KeyData MemoryBlock The key for keyed hashing.
HashSize UInt32 The size of the hash output, in bytes.

##Remarks Creates a new generic hash processor.

Clone this wiki locally