Skip to content

Generates a random credit card number, which is mathematically valid.

License

Notifications You must be signed in to change notification settings

Elia-Karrer/generate-random-credit-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Function

  • Generates mathematically valid credit-card numbers

How does this work?

  • A credit-cards last digit is a checksum of the other 15 digits before
  • Algorithm: Luhn

Disclaimer

  • Those numbers generated by this code aren't real credit-cards.
  • They are mathematically valid and could only pass offline-checks.

Legal

  • I am not responsible for any damage done by this code.
  • This code is only published for educational purposes.
  • License: MIT

About

Generates a random credit card number, which is mathematically valid.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages