elliptic icon indicating copy to clipboard operation
elliptic copied to clipboard

deriving private key from public key

Open madhav-madhusoodanan opened this issue 3 years ago • 0 comments

  1. elliptic uses bn.js. You can generate number with crypto.randomBytes and then check interval (0, n). Or you can use .getKeyPair()
  2. new EC('curve25519').g.mul
  3. You're right.

Originally posted by @fanatid in https://github.com/indutny/elliptic/issues/108#issuecomment-259091242

I'm just a beginner, so I might have missed some detail here, but does it imply that the private key is derivable from the public key? It was my understanding that the process should be near-impossible.

madhav-madhusoodanan avatar Apr 27 '21 09:04 madhav-madhusoodanan