crystal_fnv
Version, currently master branch1 version
- master branchlatestAug 3, 2017
github.com/pawandubey/crystal_fnv
FNV-1 & FNV-1a non-cryptographic hash algorithms for Crystal Lang
1 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crystal_fnv:
github: pawandubey/crystal_fnv
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.22.0- License
- MIT
- Author
- Pawan Dubey
Dependencies
This version declares no dependencies.
README
crystal_fnv
FNV-hash algorithms for Crystal Lang
Installation
Add this to your application's shard.yml:
dependencies:
crystal_fnv:
github: pawandubey/crystal_fnv
Usage
require "crystal_fnv"
# For FNV-1
hash = CrystalFnv::Hash.fnv_1(item, size: 32)
hash_64 = CrystalFnv::Hash.fnv_1(item, size: 64)
# For FNV-1a
hash = CrystalFnv::Hash.fnv_1a(item, size: 32)
hash_64 = CrystalFnv::Hash.fnv_1a(item, size: 64)
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- pawandubey Pawan Dubey - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Aug 3, 2017
- Crystal
0.22.0- Indexed
- yes
Dependents
Repository
github.com/pawandubey/crystal_fnv
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1