{"id":23268622,"url":"https://github.com/jatiinyadav/luhn-algorithm","last_synced_at":"2026-02-22T20:31:07.013Z","repository":{"id":255849848,"uuid":"375901782","full_name":"jatiinyadav/luhn-algorithm","owner":"jatiinyadav","description":"Luhn's Algorithm in various programming languages.","archived":false,"fork":false,"pushed_at":"2024-09-07T11:01:01.000Z","size":7809,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T11:44:41.925Z","etag":null,"topics":["csharp","golang","java","javascript","luhn-algorithm","python3","rust"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jatiinyadav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-11T04:14:06.000Z","updated_at":"2024-09-07T11:20:49.000Z","dependencies_parsed_at":"2024-09-07T13:47:36.373Z","dependency_job_id":null,"html_url":"https://github.com/jatiinyadav/luhn-algorithm","commit_stats":null,"previous_names":["jatiinyadav/luhn-algorithm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jatiinyadav/luhn-algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatiinyadav%2Fluhn-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatiinyadav%2Fluhn-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatiinyadav%2Fluhn-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatiinyadav%2Fluhn-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jatiinyadav","download_url":"https://codeload.github.com/jatiinyadav/luhn-algorithm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jatiinyadav%2Fluhn-algorithm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29725907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["csharp","golang","java","javascript","luhn-algorithm","python3","rust"],"created_at":"2024-12-19T17:20:13.189Z","updated_at":"2026-02-22T20:31:06.784Z","avatar_url":"https://github.com/jatiinyadav.png","language":"Java","readme":"# Credit Card Checksum Validation 🏦\nThis repository contains implementations of a credit card checksum validation algorithm across multiple programming languages. The algorithm used is the Luhn algorithm, which is commonly employed to validate credit card numbers.\n\n## Algorithm Overview 🔍\nThe Luhn algorithm (or \"modulus 10\" algorithm) is a simple checksum formula used to validate various identification numbers, especially credit card numbers. The algorithm works by:\n\n1. Doubling every second digit from the right (starting with the second-to-last digit) 🔢.\n2. Subtracting 9 from any result that is greater than 9 ✂️.\n3. Summing all the digits ➕.\n4. Checking if the total sum is divisible by 10 🔄.\n5. If the total sum is divisible by 10, the credit card number is considered valid ✅.\n\n## Implementations 🛠️\nThis repository includes implementations of the Luhn algorithm in the following programming languages:\n\n- Python 🐍\n- Java ☕\n- C# 🔧\n- JavaScript 💎\n- Go 🚀\n- Rust 🦀\n\nEach implementation provides a function to validate a credit card number using the Luhn algorithm.\n\n## Contributing 🤝\nContributions to improve or add new language implementations are welcome. Please feel free to submit pull requests or open issues if you encounter any problems or have suggestions for enhancements.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjatiinyadav%2Fluhn-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjatiinyadav%2Fluhn-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjatiinyadav%2Fluhn-algorithm/lists"}