• CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    The private key, or a symmetric key would break the algorithm. It’s kind of the point that a person having those can read it. The public key is the one you can show people.

    • heavy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      4
      ·
      8 months ago

      Doesn’t break the algorithm though, you would just have the key and then can use the algorithm (that still works!) to decrypt data.

      Also you’re talking about one class of cryptography, the concept of key knowledge varies between algorithms.

      My point is an attacker having knowledge of the key is a compromise, not a successful break of the algorithm…

      “the attacker beat my ass until I gave them the key”, doesn’t mean people should stop using AES or even RSA, for example.