US Department of Commerce unveils quantum-resistant encryption algorithms | IoT Now News & Reports (www.iot-now.com)
from obbeel@lemmy.eco.br to programming@programming.dev on 14 Aug 2024 20:45
https://lemmy.eco.br/post/6873296

#programming

threaded - newest

katja@lemmy.blahaj.zone on 14 Aug 2024 22:13 next collapse

This is a sure sign that the NSA have been reading everything encrypted with standard cryptos for quite some time but they see that the opposition (China in this case) is showing signs of catching up. Can’t have that, even if it means losing capability for themselves. They have other ways in so the drop in capability is not as big as one would think.

I personally wouldn’t trust anything but one time cryptos to be safe and I don’t trust any algorithm from that source to be safe. It certainly should be and it is very much in their and our interest to make sure that it is, but the possibility that they are trying to eat the cake and pull a fast one is frighteningly far from zero. It would be monumentally stupid to try because shit like that always gets out and that would jeopardize every system in the world. Stupid isn’t exactly in short supply these days.

jlh@lemmy.jlh.name on 14 Aug 2024 23:55 next collapse

Quantum computers are not advanced enough to break RSA/EC yet. NSA might have some secret backdoors, but the recent focus on quantum-resistent encryption from both the public and private sectors (see TLS and Mullvad) has nothing to do with China.

What is a one-time crypto, and how does it allow you to avoid the use of quantum-vulnerable asymmetric encryption such as the algorithms used for HTTPS?

booly@sh.itjust.works on 15 Aug 2024 00:16 next collapse

One time pads are perfect encryption, but the problem is that the key length needs to be longer than the message length. So if you have the ability to get the symmetric key to the recipient securely, then you had the ability to get the whole message to the recipient securely.

robojeb@lemmy.world on 15 Aug 2024 02:42 collapse

One time pads aren’t really feasible at scale. Getting the pad (key) to your partner securely will involve moving it in meatspace.

If you tried to send the pad with some other encryption that becomes the weak point and defeats the pad.

You can’t reuse the pad for multiple transmissions or you are vulnerable to analysis attacks.

You can’t compress the pad and send it with remaining space of a previous pad because the pad has to be true random numbers and won’t compress well so you will always come out behind.

They are great in theory, and in practice for a few fixed short form communications in emergency situations but I don’t know of any practical way they could be used generally. Your bank isn’t going to ship you a hard drive of random numbers for you to securely look at your account.

AbelianGrape@beehaw.org on 15 Aug 2024 00:19 collapse

I’ve only ever seen “one-time” in cryptography to refer to One-Time Pads (OTP). They are literally uncrackable (because every possible plaintext could be encoded by every possible ciphertext) but they achieve that by using a shared private key. The cipher becomes attackable if the key is re-used, hence the “one-time.”

But that key has to be exchanged somehow, and that exchange can be attacked instead. Key exchange algorithms can’t necessarily transfer every possible OTP which means eavesdropping on the exchange would make an OTP attackable. So the best option we know of that doesn’t require secret meetings to share OTPs* really is to use RSA encryption. Once we have efficient quantum-resistant schemes, they’ll be the best option we know.

* and let’s be honest, secret meetings can be eavesdropped on as well.

karlhungus@lemmy.ca on 15 Aug 2024 01:44 collapse

ECC encryption seems semi preferred now a days i thought

sxan@midwest.social on 15 Aug 2024 01:00 next collapse

There are already quantum resistant algorithms available as open source libraries, and some tools which already use them. It’s nice to see some standards emerging, although I’ll be more confident after external reviews pronounce them “clear.”

GetOffMyLan@programming.dev on 15 Aug 2024 12:39 collapse

What they actually do is record everything encrypted and wait for computers to get fast enough to crack it.

jlh@lemmy.jlh.name on 14 Aug 2024 23:56 collapse

Which algorithms have they endorsed? Did they make any changes to them?

obbeel@lemmy.eco.br on 15 Aug 2024 00:33 collapse

I saw another reporting on the same topic, apparently there are 3 algorithms developed.