News for hackers. Stuff that matters.
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by monero-xmr on Wednesday September 06, 2023 @01:54PM (#37408593)
Quantum computing doesn’t matter. Nothing in the universe can break a one time pad.
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by contact9879 on Wednesday September 06, 2023 @02:04PM (#37408732)
Once again, every cryptographic problem reduces to a key distribution problem :)
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by maxbond on Wednesday September 06, 2023 @02:08PM (#37408790)
Is quantum computing relevant to symmetric encryption like OTP? GP was talking about asymmetric encryption. My limited understanding is that quantum computing is a threat to asymmetric encryption.

There's also the question of, if you can distribute a key which is at least the same size as your message over a secure channel - why not just distribute your message over that channel in the first place?

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by karmanyaahm on Wednesday September 06, 2023 @02:10PM (#37408817)
> why not just distribute your message over that channel in the first place

Latency? You can hand deliver a password ahead of time, but not messages.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by ianburrell on Wednesday September 06, 2023 @02:15PM (#37408895)
One-time pad isn't a password. It is a flash drive or hard drive full of random bits.
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by InitialLastName on Wednesday September 06, 2023 @02:50PM (#37409383)
The difference between those is just one of scale and storage.

You still have to reliably move a chunk of out-of-band information in a way such that it gets to (and only gets to) the person you want to have it.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by ianburrell on Wednesday September 06, 2023 @03:49PM (#37410318)
The difference between one-time pad and stream cipher is provable, absolute secrecy, and really good secrecy. If don't care about that, there is zero point to one-time pad.

Also, it isn't just a "chunk", for one-time pad it has to be the same length as the messages. Which is fine if just short messages but a lot harder if lots of data.

If can exchange lots of data, better off using them as keys for stream cipher.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by aetherson on Wednesday September 06, 2023 @02:53PM (#37409427)
One-time pads are obviously not a serious widespread cryptography proposal.

But the question of, "Why not just send the message instead of the pad" is pretty straightforward: when you have the opportunity to safely deliver the pad, you don't know what the message will be. When you do know what the message will be, you don't have the opportunity to safely deliver the pad.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by hgomersall on Wednesday September 06, 2023 @03:37PM (#37410108)
Because with QKD you can distribute a random key knowing that there were no observers but you cannot distribute a message with the same guarantees. Specifically, any given bit exchanged might be observed, but that is detectable so the bit can be discarded.

I read some years ago about a non quantum technique to achieve the same based on (I think) noise in a coupled electronic system. I wonder if that has been tested further.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by grotorea on Wednesday September 06, 2023 @02:15PM (#37408898)
Doing some armchair navel gazing cryptanalysis, but isn't that only true if you assume the OTP has access to true randomness? What if the attacker breaks your CSPRNG? Or what if the universe is deterministic and therefore a true RNG is impossible?
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by maxbond on Wednesday September 06, 2023 @02:19PM (#37408962)
Similarly relaxing in my armchair, a deterministic universe is compatible with a CSPRNG as long as the information required to recover it's internal state is too diffuse to recover, or is outside the light cone of your adversary.

Eg, rolling a dice is deterministic, and I imagine an algorithm exists that could recover the value of a dice throw from a recording of the sound of it rolling and it's initial position. But once that sound has turned into heat, and that heat has conducted itself about the walls and into the air, I don't think it's possible to recover the sound.

See also:

"Is flipping a coin random?" (Numberphile)

https://www.youtube.com/watch?v=AYnJv68T3MM [8m]

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by jamiek88 on Wednesday September 06, 2023 @02:57PM (#37409503)
It’s possible. As in physics says it can be done. But it isn’t technically feasible, probably ever.

There’s nothing in the laws of physics that prohibits us turning burned paper smoke back into a document and recover the information.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by maxbond on Wednesday September 06, 2023 @03:11PM (#37409715)
I'm not sure physics really does say that. Physicists seem to believe that information is never lost - but that doesn't mean the information can be retrieved. If it's in a fragile state, then the act of measuring it might change it. Eg an electron has both a position and a momentum, but that doesn't mean you can measure it's velocity.

When you burn a document, all the matter might be transferred into the smoke, but you've rendered it into a stream of particles which is small enough to be effected by Brownian motion. Reversing the process (figuring out the initial position of each soot particle) involves knowing the position and momentum of the air molecules impacting the soot particles. In principle, you could take the current position and momentum of those particles and extrapolate backwards - but you can't actually measure that, not even in theory.

Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by phoe-krk on Wednesday September 06, 2023 @02:05PM (#37408753)
And nothing in the post-quantum universe seems to reliably solve the problem of transmitting a one-time pad.
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by numpad0 on Wednesday September 06, 2023 @02:12PM (#37408852)
But quantum computing can put the ciphertext in a quantum superposition between solved and unsolved state. Only problem to remain will be simple matter of determining what the plaintext is to be.
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by macawfish on Wednesday September 06, 2023 @02:04PM (#37408727)
Underappreciated fact
Re:U.K. Abandons, for Now, Legislation That Would Have Banne... by Sohcahtoa82 on Wednesday September 06, 2023 @05:53PM (#37411898)
This isn't the first time I've seen someone on HN act like one-time pads are the solution to all of the problems of cryptography.

It's like people read that OTPs are the only encryption method that has been proven to be completely unbreakable (when used correctly) and stop reading there, and then completely miss all the things OTPs don't solve (ie, guaranteeing authenticity), not to mention their massive glaring limitation: How do you transfer the encryption key?