[][src]Crate keccakf

An implementation of the keccak-F[1600,800,400,200].

All Keccak-F[] permutation is fully unrolled; it's nearly as fast as the Keccak team's optimized permutation. I use macro to generate functions Keccak-F[] with different parameters.

Building

cargo build

Usage

Add this to your Cargo.toml:

[dependencies]
keccakf = "1.0"

and this to your crate root:

extern crate keccak;

Original implemntation in Rust: https://github.com/debris/tiny-keccak

Test vectors: https://github.com/XKCP/XKCP

Add macro and more parameters: tiannian (dtiannian@aliyun.com, dtiannian@gmail.com)

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

Functions

keccakf200
keccakf400
keccakf800
keccakf1600

Type Definitions

KeccakF200State

Type of keccak-f[200]'s state.

KeccakF400State

Type of keccak-f[400]'s state.

KeccakF800State

Type of keccak-f[800]'s state.

KeccakF1600State

Type of keccak-f[1600]'s state.