6 ms·
The key part here seems to be protection against all kinds of message interception attacks - if I listen in on the conversation and hear that the code is 123456
by PeterisP 7y ago
The key part here seems to be protection against all kinds of message interception attacks - if I listen in on the conversation and hear that the code is 12345678, then I can't easily create a dollar bill with that code on it, and probably even the FBI can't do it quickly enough for it to be useful.
- hn_throwaway_99 7y agoYeah, I think the thing that confused me originally is that the headline talks about the serial numbers as "random keys", which to me implied something related to requiring the properties of randomness (e.g. evenly distributed). But they're not random keys at all, they're just guaranteed to be unique. Uniqueness and randomness are totally different aspects, one that often trips up some developers who think that UUIDs (which are guaranteed to be unique) are also guaranteed to be random (not necessarily).
- fisherjeff 7y agoBut the randomness of the serial numbers is very important here too: If someone could predict upcoming keys, the system could be broken.
- hn_throwaway_99 7y ago> But the randomness of the serial numbers... That sentence is an oxymoron. They are called "serial" numbers because they are applied in series, i.e. one right after the other. The randomness is not important. The person setting up the drop already has the dollar bill in hand. The important thing is that the bill can't be duplicated.
- nieve 7y agoA random selection from a set of in-series numbers is still random, it's just got a potentially known range.
- qrbLPHiKpiux 7y agoFor $1, that’s a bargain.
- PeterisP 7y agoI don't think that the system would suffer much if someone was using a stack of fresh dollar bills where the serial numbers are in order. Randomness doesn't hurt, but for the main threat models they expect (presenting a fake token, repudiation that they didn't receive the goods, etc) it's not stricly necessary.
- janekm 7y agoThe DEA could hypothetically ask the treasury to reprint a note with a particular serial number, given enough time. So random selection is an important property.