code: public Curve25519KeyPair generateKeyPair() {
      byte[] privateKey = provider.generatePrivateKey();
      byte[] publicKey  = provider.generatePublicKey(privateKey);
  
      return new Curve25519KeyPair(publicKey, privateKey);
    }
docs: Generates a Curve25519 keypair.
  
  @return A randomly generated Curve25519 keypair.