Anthropic has made a major breakthrough in theoretical cryptanalysis (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
In the scenarios discussed where cryptographic problems can be trivially solved, then stream ciphers would fall just like any other type of cipher, since the underlying PRNG could be broken.
Replies (1)
Replies (1)
Kotlopou: what happens in a world where all cryptography turns out to be trivially breakable?
hadlock: guess we'll have to carry around stacks of one-time pads
yubblegum: no you wouldn't, <proposes a cryptographic scheme that would be trivially breakable in the world under discussion>
> use the function to emit fixed length blocks of bytes as pads, print them and hand it out.
That's a stream cipher with extra steps, and is just as breakable.
> I mean, the whole point is "how to create shared blocks of bytes instead off handing out stickit notes per GP".
This is impossible in the scenario under discussion, which assumes any deterministic function can be broken.
Replies (1)
> yubblegum: no you wouldn't, <proposes a cryptographic scheme that would be trivially breakable in the world under discussion>
If it is "trivially breakable", walk us through how you would break e.g. BLAKE3.
Replies (1)
> any process f(x) that is easy to compute is also easy to invert in the sense that, for almost all values of x, given f(x), it is possible to find some x' with f(x') = f(x) in roughly the same amount of time it took to compute f(x).
In other words, under this hypothetical, any hash function like BLAKE3 is also (almost always) invertible. So, one possible attack against your stream cipher is: if you have a ciphertext and a crib, then you can invert the hash function to recover one possible key and decrypt the rest of the message (there may be multiple candidates, but the probability of more than one match decreases exponentially as the length of the crib increases).
Of course, if BLAKE3 is indistinguishable from a true random number generator, the stream cipher is indistinguishable from a true one-time pad. But no PRG has yet been proven indistinguishable from true randomness (as such would be a proof that P ≠ NP); and our premise is that such a PRG cannot exist and all PRGs are trivially breakable, which is why the distinction between OTP and a stream cipher is significant.
Replies (1)
> Of course, if BLAKE3 is indistinguishable from a true random number generator, the stream cipher is indistinguishable from a true one-time pad. But no PRG has yet been proven indistinguishable from true randomness (as such would be a proof that P ≠ NP); and our premise is that such a PRG cannot exist and all PRGs are trivially breakable, which is why the distinction between OTP and a stream cipher is significant.
Fully agree, but then how does one make a one time pad outside of using some "random" physical process to drive an algorithm to emit random bits? In other words, is it not true that most one time pads are themselves products of some PRNG?
Continue this thread (1 replies) →