25 stable releases (10 major)

new 10.0.2 Jan 12, 2021
9.1.0 Jan 9, 2021
8.0.0 Jan 7, 2021
7.2.0 Apr 12, 2020
0.3.0 Mar 28, 2019

#192 in Algorithms

Download history 62/week @ 2020-09-24 61/week @ 2020-10-01 89/week @ 2020-10-08 37/week @ 2020-10-15 86/week @ 2020-10-22 36/week @ 2020-10-29 64/week @ 2020-11-05 87/week @ 2020-11-12 86/week @ 2020-11-19 61/week @ 2020-11-26 83/week @ 2020-12-03 35/week @ 2020-12-10 73/week @ 2020-12-17 1/week @ 2020-12-24 59/week @ 2020-12-31 183/week @ 2021-01-07

286 downloads per month
Used in less than 7 crates

Custom license

61KB
1.5K SLoC


lib.rs:

Keccak implementation

Project

Features

This project provides some hash functions from Keccak.

The crate uses #![no_std] by default. Documentation is built with all features, which include std. If you see some components from std crate, you have to use that feature.

References

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 supporting u64 natively.
  • In addition to NIST's test data, the libray has passed millions of sample hashes generated by OpenSSL.

Usage

No runtime deps

Features

  • std