News for hackers. Stuff that matters.
Re:Facebook Let Kids Rack Up Charges on Parents' Credit Cards by hakfoo on Monday January 28, 2019 @12:29AM (#19015488)
The whole number is used in the checksum calculation (the Luhn algorithm). The last digit is basically the checksum.

The first six digits will identify an issuing bank and card type. All Chase Debit Visas will start with the same six digits (unless they've further broken it down), but no Citibank one will use them. It's still plenty guessable-- try the most popular prefixes and you'll probably hit a few percent of the time.

It might be based in PCI regulations. They might be allowed to store or display the first six/last four in plain text, but probably have to encrypt the whole number or store a token in lieu of the actual full card number.

There are no comments on this comment yet.