News for hackers. Stuff that matters.
Re:Making sense of your credit card by Sniffnoy on Monday January 24, 2011 @04:33AM (#2134749)
That's a weird way of doing checksums. Summing digits preserves residues mod 9, yet the final check is mod 10. Weird.

(Now how do the 3 additional verification digits on the back work?)

Re:Making sense of your credit card by gjm11 on Monday January 24, 2011 @05:06AM (#2134798)
They're generated independently of the card number and, in principle, known only to the card issuer and verifiable only by asking them. Merchants are supposed never to record them.

(They don't really need to be independently generated for each card; instead they can be computed from the card number, expiry date, etc., using a secret key known only to the issuer and some cryptographic magic.)