Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Public method to generate a keypair with given bytes #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kushti
Copy link

@kushti kushti commented Oct 18, 2015

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

@stefanoqredo
Copy link

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

@moxie0
Copy link
Contributor

moxie0 commented Aug 12, 2016

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

@stefanoqredo
Copy link

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))

@moxie0
Copy link
Contributor

moxie0 commented Aug 12, 2016

Seed for what? What are you trying to accomplish?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants