Crate zeros[][src]

Keccak implementation

Project

Features

This project provides some hash functions from Keccak.

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.
  • Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.

Usage

Modules

version_info

11.0.0 (March 26th, 2021)

Structs

Error

Error

HashReaderDeprecated

Hash Reader

HashWriterDeprecated

Hash Writer

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