I am doing a tutorial where my lecturer (PhD) gave me an optional question to do relating to RSA.
He said: write a python function that takes as input the server’s public key and then uses that to compute the server’s private key. Print out the server’s private key to standard out.
Because according to him, 16-bit or 17-bit keys can be easily factorized on your computers.
How am I able to do this. I have searched all over and people have said RSA private keys cannot be generated by public keys.
I am asking for guidance, please.
factor
command in Unix. $\endgroup$ – kelalaka Nov 19 '19 at 22:27function
$\endgroup$ – Jermaine Hall Nov 19 '19 at 22:28