private static void verifyNotSameKeyPaths(Path privPath, Path pubPath) {
        if (privPath.equals(pubPath)) {
            throw new IllegalArgumentException("Private and public key output files must be different");
        }
    }
Tooling to generate random X25519 key pairs.

@author vekterli
vespaclient-java/src/main/java/com/yahoo/vespa/security/tool/crypto/KeygenTool.java