-2

I am very new in cryptography field, what I want to ask but I cannot find an answer is this: In public key cryptography, such as in RSA, does it matter if the adversary knows/can detect the public key? With only the public key, can he eavesdrop a message?

Thank you

2 Answers2

2

The public key is published in public so that anyone (including attackers) can get it. The point of public-key crypto is to be able to do so without compromising security in any way.

SAI Peregrinus
  • 5,836
  • 19
  • 26
1

Public key cryptography is named public because public keys are considered to be available to everyone and this alone is not sufficient to decrypt messages.

mentallurg
  • 2,611
  • 1
  • 16
  • 22