logoalt Hacker News

sjclemmy • yesterday at 9:38 PM • 5 replies • view on HN

Back in my credit card manufacturing days, I always wondered why it was 56 bits and not 48 or 64 seemed like such an odd number to pick.


Replies

sam1714 • today at 1:15 AM

NSA themselves used 120-bit keys + 8 parity = 128 bit [1] and recently 160-bit key + 160 parity [2].

[1] https://en.wikipedia.org/wiki/SAVILLE

[2] https://en.wikipedia.org/wiki/BATON

syncsynchalt • today at 1:07 AM

"parity" was the excuse.

People were used to parity checking given the common use of modems and other close-to-analog devices, so seeing a 2^n number reduced by 7/8 or extended by 9/8 wasn't as unnatural as it seems today.

hinkley • yesterday at 11:49 PM

Back then 2^n was not a given for word length. And IBM did binary coded decimal quite a lot. But unless IBM was using 68 bit words I don’t think that’s the explanation.

monocasa • yesterday at 9:42 PM

Yeah, the excuse about them being parity bits always made me side eye it as well. If you feel like the key could get corrupted somehow you would just encrypt a couple test vectors which would give you way more confidence.

goalieca • today at 12:30 AM

DES has Parity bits and those were total bullshit just to weaken each round.