Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I generate private key from the last public key using puttygen? [closed]

Tags:

I have generated public key earlier forgot to generate private key. Can I generate private key for earlier public key using puttygen?

like image 732
sagar Avatar asked Jun 20 '14 07:06

sagar


1 Answers

You cannot generate private key from public key but you can generate public key from the private key using puttygen. As @alfasin mentioned if you could generate the private key from public key then RSA would be useless and this would make you vulnerable to attack.FYI the public key is used for encryption and private key is used for decryption. this wikipedia page will help you better understand the reason.

like image 195
4aRk Kn1gh7 Avatar answered Oct 27 '22 07:10

4aRk Kn1gh7