0

Is it possible to swap them, so that the public key is kept secret while the private key is public? Or do they actually function differently?

Thinking specifically about DSA though I'm interested if there is a general answer.

brentonstrine
  • 1,259
  • 2
  • 10
  • 13
  • 3
    Related: https://security.stackexchange.com/questions/52495/can-rsa-keys-be-swapped – mti2935 Aug 02 '22 at 00:40
  • 2
    No, they can't be swapped, because [the private key contains the public key](https://stackoverflow.com/questions/301302/does-rsa-private-key-always-contain-the-public-key-or-is-it-just-net). – John Wu Aug 02 '22 at 06:10
  • https://security.stackexchange.com/questions/167298/rsa-digital-signatures-vs-encryption-with-the-private-key – gapsf Aug 02 '22 at 15:58

0 Answers0