{"id":21377473,"url":"https://github.com/zeyu-li/credit-card-validator","last_synced_at":"2025-07-21T04:36:24.180Z","repository":{"id":120380316,"uuid":"395873098","full_name":"Zeyu-Li/credit-card-validator","owner":"Zeyu-Li","description":"A Rusty Credit Card Validator 💳","archived":false,"fork":false,"pushed_at":"2021-08-14T03:27:46.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T09:45:02.571Z","etag":null,"topics":["credit-card-validation","luhn-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zeyu-Li.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-14T03:15:21.000Z","updated_at":"2022-12-30T12:48:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"dab595e2-7f42-4656-abc0-3747642a8c13","html_url":"https://github.com/Zeyu-Li/credit-card-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zeyu-Li/credit-card-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2Fcredit-card-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2Fcredit-card-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2Fcredit-card-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2Fcredit-card-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeyu-Li","download_url":"https://codeload.github.com/Zeyu-Li/credit-card-validator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2Fcredit-card-validator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266241290,"owners_count":23898066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["credit-card-validation","luhn-algorithm"],"created_at":"2024-11-22T09:21:08.755Z","updated_at":"2025-07-21T04:36:24.158Z","avatar_url":"https://github.com/Zeyu-Li.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Credit Card Validator\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nA rust script to check if a credit card is valid\n\n## How it works\n\nBest way to get up to speed is to watch this [HaI video](https://www.youtube.com/watch?v=gwVmE8gcqrg\u0026t=28s), but the short version of it is:\n\n1. Check length to see if it exceeds standard credit card length\n2. Check the first 6 digits to see if they match an issued institution\n3. Check the check digit that uses Luhn's algorithm\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeyu-li%2Fcredit-card-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeyu-li%2Fcredit-card-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeyu-li%2Fcredit-card-validator/lists"}