[−][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 |
KeccakF400State | Type of |
KeccakF800State | Type of |
KeccakF1600State | Type of |