Crate tiny_keccak [] [src]

An implementation of the FIPS-202-defined SHA-3 and SHAKE functions.

The Keccak-f[1600] permutation is fully unrolled; it's nearly as fast as the Keccak team's optimized permutation.

Building

cargo build

Usage

Add this to your Cargo.toml:

[dependencies]
tiny-keccak = "0.1"

and this to your crate root:

extern crate tiny_keccak;

Original implemntation in C: https://github.com/coruus/keccak-tiny

Implementor: David Leon Gil

Port to rust: Marek Kotewicz (marek.kotewicz@gmail.com)

License: CC0, attribution kindly requested. Blame taken too, but not liability.

Functions

sha3_224
sha3_256
sha3_384
sha3_512
shake_128
shake_256