keccak
Version, currently 0.1.13 versions
- 1.0.0latestApr 7, 2021
- 0.1.1not indexedApr 7, 2021
- 0.1.0not indexedApr 7, 2021
github.com/light-side-software/keccak.cr
Crystal implementation of Keccak (SHA-3)
Nothing has been indexed for 0.1.1 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:
keccak:
github: light-side-software/keccak.cr
version: ~> 0.1.1Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.1. 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.
keccak.cr
Crystal implementation of Keccak (SHA-3).
Based on PHP implementation by kornrunner.
Installation
Add this to your application's shard.yml:
dependencies:
keccak:
github: light-side-software/keccak.cr
Usage
require "keccak"
Keccak.hash("", 224)
# f71837502ba8e10837bdd8d365adb85591895602fc552b48b7390abd
Keccak.hash("", 256)
# c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
Keccak.hash("", 384)
# 2c23146a63a29acf99e73b88f8c24eaa7dc60aa771780ccc006afbfa8fe2479b2dd2b21362337441ac12b515911957ff
Keccak.hash("", 512)
# 0eab42de4c3ceb9235fc91acffe746b29c29a8c366b7c60e4e67c466f36a4304c00fa9caf9d87976ba469bcbe06713b435f091ef27
Keccak.shake("", 128, 256)
# 7f9c2ba4e88f827d616045507605853ed73b8093f6efbc88eb1a6eacfa66ef26
Keccak.shake("", 256, 512)
# 46b9dd2b0ba88d13233b3feb743eeb243fcd52ea62b81b82b50c27646ed5762fd75dc4ddd8c0f200cb05019d67b592f6fc821c49479ab48640292eacb3b7c4be
Contributing
- Fork it (https://github.com/light-side-software/keccak.cr/fork)
- 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
- Tamás Szekeres - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.1- Tagged
- Apr 7, 2021
- Commit
154648417edf- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/light-side-software/keccak.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 13, 2026
- Versions
- 3