logoalt Hacker News

hannob • today at 10:09 AM • 2 replies • view on HN

There were 8 affected keys and only one was d=4, all were single-byte values. Very much looks like a byte-truncated value.


Replies

nraynaud • today at 11:16 AM

That’s also what the post mortem said, they crushed the high-order bytes of “quality” keys.

embedding-shape • today at 11:08 AM

Yeah, in this particular case I agree. Although "some dev did this as a joke of sorts and somehow it landed in prod" is still true, some years ago I added a get_pseudo_random_number function that returns 4 to at least one application currently running in production, I'm sure I'm not alone :)

➕ show 1 reply