I was reading on a news (fact checking news site) that Anthropic and/or OpenAI may have broken RSA encryption. If that were to be true, we are all screwed. But that has made me wonder whether i should be thinking about this when selecting encryption protocols when setting up access to my machine e.g. SSH. What do peopke think about this and what are most robust encryotion protocols compared to RSA?

    • Nibodhika@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      1 day ago

      IF that were true, and that’s a BIG IF (think whoever does this gets a Nobel prize big), then one of the most common encryptions we have nowadays becomes pointless and we should migrate to a more secure one.

      Encryption is used in a lot of contexts to have secure communication or validate authenticity. Let’s assume for a moment RSA were broken, that means that anyone using an RSA key for SSH, HTTPS, or any other form of encryption or validation could be mimicked or bypassed, you could login to their session, pretend to be hosting the real website over https, or fake their digital signature.

      RSA keys work by generating two large numbers, and telling people their product, there’s a lot of math involved but the short version is: if you know the public key (product result) you can encrypt data in a way that only someone with the private key can read,and if you know the private key (the two base numbers) you can sign messages in a way that anyone with the public key can verify that whoever signed that knew both numbers. This is used in LOTS of secure communication, because to break it you would have to be able to factor a very big number (which we currently can’t do except by trial and error, and the number is so big that trying everything would take you a few million years).

      But that does mean that we know how to break RSA, which is why we know quantum computers will be able to break it (because they can essentially try all possibilities at the same time). Which is why RSA has slowly been phased out for other algorithms more resistant to brute force.

      So again, IF a company is able to break RSA they can calculate the factors of very large numbers in a non trial and error fashion, which would certainly grant them a Nobel in mathematics as that would be a novel way of finding prime numbers among other things.

        • Nibodhika@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          24 hours ago

          Encryption is a very complicated topic, it requires a lot of advanced math that honestly is not worth learning just for it. My understanding is only rudimentary too, but I got curious enough to read about it to have a grasp of what’s happening, although I couldn’t implement even a simple RSA algorithm if I had to.