• Txmyx@feddit.org
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    25 days ago

    Why are these apps getting hacked? Wouldn’t just RSA 2048 be enough?

    • CAVOK@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      25 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
        arrow-up
        2
        ·
        24 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
          arrow-up
          1
          arrow-down
          1
          ·
          24 days ago

          Encryption is trivial. Getting a reliable keystream is not.

          It all depends on the framing 😁

      • Irelephant@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        24 days ago

        The real matrix’s key exchange is pretty headacheless, is there any downsides to it?

    • FrederikNJS@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      24 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.