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

Public method to generate a keypair with given bytes

Open kushti opened this issue 10 years ago • 4 comments

public Curve25519KeyPair generateKeyPair(byte[] random) added to provide ability to pass random bytes from outside

kushti avatar Oct 18 '15 19:10 kushti

Hi, is there any chance this is gonna be merged? We'd like to use it in our project.

stefanoqredo avatar Aug 09 '16 12:08 stefanoqredo

Why do you need this? You can already specify your own SecureRandom provider.

moxie0 avatar Aug 12 '16 00:08 moxie0

thanks for your reply. I don't understand how should I generate the keypair starting from a known seed (like in i.e. : sodium: sodium().crypto_sign_ed25519_seed_keypair(publicKey, secretKey, seed))

stefanoqredo avatar Aug 12 '16 09:08 stefanoqredo

Seed for what? What are you trying to accomplish?

moxie0 avatar Aug 12 '16 23:08 moxie0