Crate xkcp_rs

Source
Expand description

§xkcp-rs

Safe wrappers to the eXtended Keccak Code Package (XKCP) library.

Re-exports§

pub extern crate xkcp_sys as ffi;

Structs§

KeccakHash
Keccak hash function instance.

Enums§

Error
Keccak errors.

Functions§

keccak224
Implementation of Keccak-224.
keccak256
Implementation of Keccak-256.
keccak384
Implementation of Keccak-384.
keccak512
Implementation of Keccak-512.
keccak_sponge
Function to evaluate the sponge function Keccak[r, c] in a single call.
sha3_224
Implementation of SHA3-224 [FIPS 202].
sha3_256
Implementation of SHA3-256 [FIPS 202].
sha3_384
Implementation of SHA3-384 [FIPS 202].
sha3_512
Implementation of SHA3-512 [FIPS 202].
shake128
Implementation of the SHAKE128 extendable output function (XOF) [FIPS 202].
shake256
Implementation of the SHAKE256 extendable output function (XOF) [FIPS 202].

Type Aliases§

Result
Keccak result type alias.