code: public static KeyPair keyPair() {
              KeyPair kp = new KeyPair();
  
              crypto_box_keypair(kp.getPublicKey(), kp.getSecretKey());
              return kp;
          }
docs: /*
  @description
  Generates a new random key pair for box and
  returns it as an object with publicKey and secretKey members: