deriving private key from public key
madhav-madhusoodanan opened this issue · comments
Madhav Madhusoodanan commented
- elliptic uses bn.js. You can generate number with crypto.randomBytes and then check interval (0, n). Or you can use
.getKeyPair()
new EC('curve25519').g.mul
- You're right.
Originally posted by @fanatid in #108 (comment)
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.