An unofficial, read-only Hacker News reader. Join the beta →

Google releases Cogentic papers on integer factorization, discrete logs and more (opens external site)

512 points by rgwohlbold 2 days ago | github.com | 375 comments on HN

View full thread · View on Hacker News

Comment thread (26)

  1. As someone who hopes for a usable algorithm for NP (a quasipolynomial with small constants would be fine), I think realize that the encryption is not everything, and benefits (for optimization) would outweight the costs. Honestly it might not even be that a bad world if people can read each others communications.

    But for factoring or discrete log specifically.. I don't care that much. You can try to keep it a secret if you want.

    Replies (2)
    1. > it might not even be that a bad world if people can read each others communications

      What? This will render payment infra, private conversations, and more totally unviable. How is that a good world?

      Replies (4)
      1. No, it won't. You will talk to humans directly for these things. You will have local banks that check your id for anything big. If somebody commits a fraud, people will learn about it and fix it. The payment systems will be less centralized.

        It is viable, but might be difficult to imagine.

        Just like elections - not everything needs to be computerized. Paper elections work fine, too.

        Replies (4)
        1. Not really even that difficult to imagine for things like payments. Distribute OTP material in person, and you can still do remote banking. You could even "charge" your phone with a 100 MB of pad material or something. There'd even be a reason to go back to sites that actually work with a few kB of data transfer to cut down on need to recharge, so yeah let's bring on the end of key-based crypto!
          Replies (3)
          1. How many people are capable of keeping their OTP secure?

            How to you invalidate all the OTPs when some bank employee accidentally runs malware an leaks the customers OTP? How fucked is someone trying to do business in another country when this happens?

          2. That is an option. You have a hardware device which generates long random keys and writes them to two identical output devices. The device has no persistent internal memory - just a ROM with the program and the hardware generator. Before every generation it's powered off and on again to clear it.

            Such key generators exist, and are used for important government point to point links. Embassy to State Department links work that way. Hackaday has a design you can build.[1] It writes the same random bits to two SD cards.

            The end of public key encryption means you can only communicate securely with someone by pre-arrangement. Your bank, yes. Bank to bank,yes. User to random web sites, no.

            [1] https://hackaday.io/project/1569-nsa-away/details

          3. > Distribute OTP material in person,

            I had this same thought. How hilarious would it be to have some sort of OTP like a modern digital checkbook? Maybe they'd mail it to you on a USB stick with a tamper proof seal, haha.

        2. Yes yes we can revert to the payments infra of the 50s ... but it's the painful, dramatic contraction such reversion implies that strikes such fear.

          One envies the material position of a commenter that blithely accepts (or even awaits?) the largest economic shock of at least the century, if not longer. How impregnable the walls of his compound must be. How deep his stocks of food and fuel. How tightly the bonds of loyalty must tie his security forces to him, to keep their guns pointed outward in exchange for decimated currency.

        3. Once again HN missing the forest for the trees. Such an event would be cataclysmic because it would disrupt all the processes that make the modern world work. Covid showed us that we are the ragged edge of brittle system failure at all times. This would be covid x1000. It would break supply chains, energy markets, food and drug supplies, literally everything. Yes, the entire system could be rebuilt after an event like that but it's the sort of thing that has a whole chapter in the history books. It would be an epoch in the history of modern humanity .

          It would be very bad.

        4. Paper is fine for elections because those are rare events and the inconvenience is worth the auditability and privacy advantages.
      2. That's how everything worked for most of human history. Trust was based on relationships and face to face stuff. You can still move letters like they always did.
        Replies (5)
        1. Encryption is almost as old as writing. Some level of symbol replacement, cyphers etc. have existed for thousands of years. Caesar cipher is more than 2000 years old
        2. Sure, but the entirety of society has restructured around the existence of encryption. We can't just smoothly transition back to the way things worked in the 50s without facing major societal fallout. I think commenters here are being idealistic, but realistically the end of encryption would be very dangerous for regular people.
          Replies (2)
          1. This (potential) result doesn't invalidate all encryption or make it particularly impossible to make a more expensive computational algorithm. We'd simply adjust existing systems. It's really not that big of a deal.
          2. Society restructured once, but can't restructure again?
        3. And the world was much, much poorer.
        4. >You can still move letters like they always did.

          Na, not really.

          Technological progress and privacy may be diametrically opposed at a fundamental level of reality. If that is the case the future of humanity is going to be really really messy.

          We're already at the point that almost all metadata of who is contacting who is known. Knowing who contacted who at which times can start narrowing probabilities to the point that you no longer need exact answers. Get enough metadata and you might as well have actual data as you approach unity.

        5. > That's how everything worked for most of human history You could say this about computers, vaccines, antibiotics, the haber bosch process, or anything that makes it the modern world. That doesn't mean life as we know it today would be tolerable without those things
          Replies (1)
          1. I can say that about all of those things, but I am saying that only about (one-way function based) cryptography.

            Take a lock on my door. It's trivial to open it without a key. Yet nobody ever did. Why? We have police, cameras, community, and people won't magically become psychos just because a crypto algorithm can be broken faster than bruteforce.

            I think people will simply mostly continue to use encryption (like they lock their doors) and take a small risk it will be broken. Maybe the key size will increase 10x, to make the attacker sweat a little. Bigger players (or more risky transactions) will switch to OTP encryption. The Earth will continue turning.

      3. When all else fails get your trusty 100GB OTP key from your local crypto provider
      4. Interestingly enough, cellular mobile networks will become the sole bastion of cryptographic trust--SIM cards store symmetric keys shared only with the telco provider, and no asymmetric crypto is used during authentication or ciphering (unless you count 5G IMSI concealment, which only really gives a little privacy improvement that is trivially breakable by downgrade to LTE anyways).
        Replies (2)
        1. it is interesting to me that we use KEMs rather than distributed key distribution built on symmetric keys
        2. Those sole bastions are already wiretapped - they were the first wiretaps.
          Replies (1)
          1. I mean constraining to Alice, Bob, and one Eve is preferable to admitting the entire internet as Eve?
            Replies (1)
            1. Naive (NaiEve?) to assume Eve can keep her mouth shut.
    2. > Honestly it might not even be that a bad world if people can read each others communications.

      One shudders to contemplate.