box_keypair

Generate a public key from a secret key.

nothrow @safe @nogc
ubyte[32]
box_keypair
(
in ubyte[] secret_key
)

Parameters

secret_key ubyte[]

A 32 byte secret key, choosen randomly.

Return Value

Type: ubyte[32]

Returns the public key matching to the given secret key.

Meta