Keccak implementation
Project
- Repository: https://bitbucket.org/de-marco/zeros
- License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
- This project follows Semantic Versioning 2.0.0
Features
This project provides some hash functions from Keccak.
References
- Specifications: https://keccak.team/keccak_specs_summary.html
- Test data: https://csrc.nist.gov/projects/cryptographic-standards-and-guidelines/example-values
Notes
- Currently only little-endian systems are supported. We don't have access or knowledge to test on big-endian systems.
- Internal state stores data on [
u64
]. So it works best on systems supportingu64
natively. - In addition to NIST's test data, the libray has passed millions of sample hashes generated by OpenSSL.
- Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.
Usage
- For small data:
Hash::hash()
. - For large data:
Keccak
.