crypto-box-keypair - randomly generate a pair of corresponding public and secret keys
crypto-box-keypair publickeyfile secretkeyfile
Randomly generates a pair of public key secret keys to be used by crypto-box(1) and crypto-box-open(1).
The public key will be written to the file publickeyfile
The secret key will be written to the file secretkeyfile
Normally, crypto-box-keypair exits with 0.
If invalid arguments are given, crypto-box-keypair exits with 100.
If either publickeyfile or secretkeyfile already exists, or if either refers to an invalid filesystem path, then crypto-box-keypair exits with 111, and neither key is written.
This program is a simply a wrapper around the crypto_box_keypair function provided by NaCl, the Networking and Cryptography library by Daniel J. Bernstein and Tanja Lange. See the official website http://nacl.cr.yp.to/ for details.
Jay Sullivan <jay@identity.pub>