The crypto_box_keypair() function randomly generates a secret key and a corresponding public key. The public key is put into pkey and the secret key into skey.
See Implementation
The crypto_box_keypair() function randomly generates a secret key and a corresponding public key. The public key is put into pkey and the secret key into skey.