Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cactusplant7374
· 1y ago · 0 comments
> Since there is a limit to how much data a symmetric cryptographic key can protect
Is this regulatory related or self imposed?
Comments
[–]
tptacek
1y ago
Neither: it's because (overgeneralizing) there are bounds on the number of times nonces can be generated under a key without risk of collision, which in AEAD constructions is a devastating event.
[–]
HeatrayEnjoyer
1y ago
But shouldn't that bound be astronomical?
[–]
tptacek
1y ago
GCM is like 4 billion messages, which is not astronomical at Facebook's scale.
[–]
pstoll
1y ago
Meta (we) process many billions of messages per second. Finding enough randomness is a thing at scale.
[–]
stavros
1y ago
I'm fairly out of my depth here, but the birthday paradox is a harsh mistress.
[–]
ikiris
1y ago
Especially when the pool of possibilities is equally massive
[–]
jgalt212
1y ago
For a given nonce collision, how many blocks or messages can be decrypted?
[–]
richardwhiuk
1y ago
For some modes, you can break every message encrypted with that key.
[–]
bdd
1y ago
If you want to read more about cryptographic key wear out, Soatok wrote an excellent explainer on this a few years ago
https://soatok.blog/2020/12/24/cryptographic-wear-out-for-sy...