crypto_sign_keypair

The crypto_sign_keypair() function randomly generates a secret key and a corresponding public key.

void
crypto_sign_keypair
()
(
ubyte[] pk
,
ubyte[] sk
)

Parameters

pk ubyte[]

slice to put generated public key into

sk ubyte[]

slice to put generated secret key into

Return Value

Type: void

pair of new keys

Meta