Skip to content

Command line tool to create a list of all possible "masked" values in a credit card number that would pass the luhn (i.e. mod10) check.

Notifications You must be signed in to change notification settings

dbohannon/luhn_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

luhn_gen

Command line tool to create a list of all possible "masked" values in a credit card number that would pass the luhn (i.e. mod10) check.

Example Usage:
shell$ python luhn_gen.py 123456789012345X
['123456789012345', 'X', '']
1234567890123452
Number of possible values passing Luhn check: 1
shell$

About

Command line tool to create a list of all possible "masked" values in a credit card number that would pass the luhn (i.e. mod10) check.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages