Skip to content

Instantly share code, notes, and snippets.


Giovanni Thenstead thensg

  • NYC
View GitHub Profile
thensg / luhn-checksum.js
Last active Jan 6, 2020
Calculate or verify a Luhn (Mod10) checksum
View luhn-checksum.js
* Calculate a Luhn (Mod10) checksum
* -or-
* Verify the Luhn checksum of a credit card or IMEI number
* This implementation was adapted from the following sources:
* -
* -
You can’t perform that action at this time.