-2
$\begingroup$

This question already has an answer here:

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

$\endgroup$

marked as duplicate by forest, AleksanderRas, kelalaka, Maarten Bodewes Jun 3 at 9:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1
$\begingroup$

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.

$\endgroup$
0
$\begingroup$

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.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.