iluwatar / 30-seconds-of-java

Collection of reusable tested Java 17 compatible code snippets that you can understand in 30 seconds or less.
https://java-design-patterns.com/snippets.html
MIT License
1.03k stars 396 forks source link

Luhn mod N algorithm #115

Open iluwatar opened 2 years ago

iluwatar commented 2 years ago

The Luhn mod N algorithm is an extension to the Luhn algorithm (also known as mod 10 algorithm) that allows it to work with sequences of values in any base.

https://en.wikipedia.org/wiki/Luhn_mod_N_algorithm

asilenko commented 2 years ago

I would like to work on this issue if it is still available.

iluwatar commented 2 years ago

Yes @asilenko, go ahead

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.