• @CAVOK@lemmy.worldOP
      link
      fedilink
      39 days ago

      Probably an implementation issue. Make a small error there, like storing parts of a key in memory or something like that and you’ve compromised security.

      • @FrederikNJS@lemm.ee
        link
        fedilink
        28 days ago

        Encryption is really really hard, and avoiding some form of sidechannel attack is much much harder.

        Sure key exchange also isn’t trivial, but I would say that key exchange is significantly easier. Care to elaborate?

        • @XTL@sopuli.xyz
          link
          fedilink
          08 days ago

          Encryption is trivial. Getting a reliable keystream is not.

          It all depends on the framing 😁

    • @FrederikNJS@lemm.ee
      link
      fedilink
      18 days ago

      RSA doesn’t scale, so if the message is large then RSA becomes unwieldy. So most encryption methods that make use of RSA actually encrypt the data with a symmetric algorithm, and then just encrypt the key for the symmetric data using the RSA key.

      But there is still way way way too many ways to implement crypto wrong, which can completely compromise the security of it.