curve25519-java icon indicating copy to clipboard operation
curve25519-java copied to clipboard

Allow to restore public key from private key

Open IlyaGazman opened this issue 6 years ago • 0 comments

I am using your library for Java blockchain development: https://github.com/Confidence-coin/coco I was looking for the ability to generate a public key from a private key, eventually, I found this:

byte[] publicKey = new byte[32]; curve_sigs.curve25519_keygen(publicKey, ssk);

Can you make this code easier to find? For example, put it in Curve25519KeyPair.

IlyaGazman avatar Jul 18 '18 09:07 IlyaGazman