Code Monkey home page Code Monkey logo

netfri25 / israeli-id-validation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmosfail/israeli-id-validation

0.0 0.0 0.0 22 KB

Scripts to verify an Israeli ID in different languages

License: GNU General Public License v2.0

JavaScript 5.34% Ruby 4.91% C++ 7.22% Python 4.65% Perl 4.93% C 7.29% PHP 5.94% Java 6.97% Lua 4.19% Haskell 2.58% Scala 2.97% Groovy 3.27% R 3.20% Go 6.86% C# 6.69% F# 3.04% Rust 5.83% Elixir 3.56% Kotlin 5.17% TypeScript 5.42%

israeli-id-validation's Introduction


Israeli ID Validation | אימות תעודת זהות ישראלית

Scripts to verify an Israeli ID in different languages | קטעי קוד לאימות תעודת זהות ישראלית בשפות תכנות שונות

Contributors Stargazers Issues License

Table Of Contents

The Luhn Algorithm

The Luhn algorithm, also known as the "modulus 10" or "mod 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers in the US, Canadian Social Insurance Numbers, and more. It was created by IBM scientist Hans Peter Luhn in the late 1950s.

The algorithm is used to validate the Israeli ID number. The ID number is a 9 digit number, the last digit is a check digit. The check digit is calculated using the Luhn algorithm.

Why was this project started

This repository was created by Itamar Itzhaki as a resource to help developers implement the Luhn algorithm to check and validate Israeli IDs in different programming languages. It currently includes examples in JavaScript, Go, Java, C, C++, Ruby, Swift, and more.

Contributing

If you would like to contribute examples in other languages, please fork the repository and submit a pull request with your changes. Make sure to include a brief explanation of the language and any specific nuances of the implementation.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/NewLanguage)
  3. Commit your Changes (git commit -m 'Add some NewLanguage')
  4. Push to the Branch (git push origin feature/NewLanguage)
  5. Open a Pull Request

License

This repository is licensed under the GPLv2 license, which means that it is free to use, distribute, and modify as long as any derivative works are also released under the GPLv2 license. This promotes collaboration and sharing of knowledge among developers and ensures that the code remains open and accessible to all.

Authors

  • Itamar Itzhaki - Full Stack Developer - Itamar Itzhaki - Started the project

israeli-id-validation's People

Contributors

cmosfail avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.