Skip to content

Utility that takes as input a credit card number and length of credit card number and returns asterisks and last 4 digits

License

Notifications You must be signed in to change notification settings

geo101/cc-asterize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cc-asterize

Utility that takes as input a credit card number and length of credit card number and returns asterisks and last 4 digits

Usages :

ast.v2 "1234-1234-1234-1234" 16
ast.v2 "1234123412341234" 16
ast.v2 "1234 1234 1234 1234" 16
ast.v2 "1234 1234 1234 1234" 16
ast.v2 "1234-1234-1234-12341" 16
ast.v2 "1234123412341234---" 16
ast.v2 "1919191919191912" 16
ast.v2 "11" 16
ast.v2 "123456789123456789" 16
ast.v2 "123456789123456789123456789123456789123456789123456789" 16
ast.v2 "1234567890123451" 15
ast.v2 "123456789012345" 15
ast.v2 "1234567890" 10

About

Utility that takes as input a credit card number and length of credit card number and returns asterisks and last 4 digits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published