wwwtyro / cryptico

An easy-to-use encryption system utilizing RSA and AES for javascript.
http://wwwtyro.github.com/cryptico
1.18k stars 344 forks source link

How can I get the private key from the generated RSA key object? #22

Open coolKIH opened 7 years ago

coolKIH commented 7 years ago

I am now wanting to program a web-based public-private key pair generator using javascript. I am quite curious about how can I get public key from the private and know exactly what the private key is under the hood.

blackdotroot commented 7 years ago

rsa private key is consist of number n and d, public key is consist of number n and e.there is no method provided by cryptico to get private .