Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luhn Algorithm (Checksum) #1259

Open
wants to merge 2 commits into
base: Development
from

Conversation

@mothinx
Copy link

mothinx commented Mar 23, 2020

Here is a pull request to add Luhn Algorithm checksum.

It's used for a variety of identification numbers like credit card number, IMEI numbers.

You can learn more on https://en.wikipedia.org/wiki/Luhn_algorithm.

I added a bunch of Junit Test.

mothinx added 2 commits Mar 23, 2020
Planty of tests to cover the Luhn Algorithm.
We are not covering the fact that the user can give something else than numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.