Skip to content

libsodium.Password.RandomSalt

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

libsodium.Password.RandomSalt

Method Signature

 Shared Function RandomSalt(HashAlgorithm As Int32 = libsodium.Password.ALG_ARGON2) As MemoryBlock

Parameters

Name Type Comment
HashAlgorithm Int32 Optional. Either ALG_ARGON2 (default) or ALG_SCRYPT.

Return value

Unpredicatable bytes that are suitable to be used as a salt for Password.DeriveKey

Clone this wiki locally