verhoeff
Version, currently 1.0.02 versions
- 1.0.1latestOct 11, 2023
- 1.0.0not indexedOct 11, 2023
github.com/Crystal-Matter/verhoeff
implementation of the Verhoeff checksum algorithm in crystal lang
Nothing has been indexed for 1.0.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
verhoeff:
github: Crystal-Matter/verhoeff
version: ~> 1.0.0Then run:
shards installshard.yml
No shard.yml has been indexed for 1.0.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.0- Tagged
- Oct 11, 2023
- Commit
515b6d0866f1- Indexed
- not yet
Dependents
Repository
github.com/Crystal-Matter/verhoeff
Metadata
- Created
- Aug 19, 2026
- Updated
- Sep 17, 2026
- Synced
- Sep 17, 2026
- Versions
- 2