verhoeff v1.0.1
verhoeff
An implementation of the verhoeff algorithm for crystal lang
Installation
-
Add the dependency to your
shard.yml
:dependencies: verhoeff: github: spider-gazelle/verhoeff
-
Run
shards install
Usage
require "verhoeff"
puts Verhoeff.generate_checksum(1234) # => 0
puts Verhoeff.validate(12340) # => true
puts Verhoeff.generate_checksum("1234") # => 0
puts Verhoeff.validate("12340") # => true
Contributors
- Stephen von Takach - creator and maintainer
Repository
verhoeff
Owner
Statistic
- 0
- 0
- 0
- 1
- 0
- about 1 year ago
- October 11, 2023
License
MIT License
Links
Synced at
Wed, 20 Nov 2024 22:30:10 GMT
Languages