Skip to content

libsodium.PKI.SigningKey.Constructor

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

libsodium.PKI.SigningKey.Constructor

Method Signatures

 Sub Constructor(PasswordData As libsodium.Password, Optional Salt As MemoryBlock, Limits As libsodium.ResourceLimits = libsodium.ResourceLimits.Interactive, HashAlgorithm As Int32 = libsodium.Password.ALG_ARGON2)

Parameters

Name Type Comment
PasswordData Password The password from which to derive a keypair.
Salt MemoryBlock Optional. A random salt for the key derivation algorithm.
Limits ResourceLimits Optional. A member of the ResourceLimits enumeration.
HashAlgorithm Int32 Optional. Either ALG_ARGON2 (default) or ALG_SCRYPT.

Remarks

Generates a key pair by deriving it from a password.

Clone this wiki locally