Skip to content

libsodium.PKI.SigningKey.Generate

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

Method Signature

  Shared Function Generate(Optional SeedData As MemoryBlock) As libsodium.PKI.SigningKey

Parameters

Name Type Comment
SeedData MemoryBlock Optional. A random seed (exactly crypto_sign_SEEDBYTES long).

Return value

An instance of SigningKey containing the newly generated key pair, or Nil on error.

Remarks

Randomly generates a new SigningKey pair, optionally using the specified seed.

Clone this wiki locally