My question is a bit naive, but what if someone generates the same RSA key pair as someone else? This person would have the same private key and so would be able to decrypt messages not intended to him.

I bet that the answer will be: “It is very unlikely”, but I would like a more persuasive answer to realize that it can't happen in practice.

A related question: when someone generates a key pair, how can he/she be sure that nobody has already generated this key pair? Would the answer again be, that it is “very unlikely”?

  • 1
    $\begingroup$ Related question or possibly even a duplicate. $\endgroup$
    – mikeazo
    Commented Jul 29, 2014 at 15:09


Browse other questions tagged or ask your own question.