[][src]Crate zeros

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

Modules

version_info

10.0.2 (January 12th, 2021)

Structs

Error

Error

Keccak

Keccak

Enums

Hash

Hash functions

Constants

CODE_NAME

Crate code name

HEX_STRS

A slice of hexadecimal strings of all u8 values

ID

ID of this crate

NAME

Crate name

RELEASE_DATE

Crate release date (year/month/day)

TAG

Tag, which can be used for logging...

VERSION

Crate version

Functions

bytes_to_hex

Formats a byte slice as a hexadecimal string, in lower-case

Type Definitions

IoResult

Result for I/O functions

Result

Result type used in this crate