Crate zeros

Source
Expand description

§Zeros

§Project

  • License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
  • This project follows Semantic Versioning 2.0.0

§Features

This project provides:

§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.
  • Accuracy/correctness is highest priority. Speed is second. Currently, it’s slower than well-known implementations, such as 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.
  • Night Rust is required to build.

Modules§

argon2Little-endian
Argon2 (version 1.3)
chachaLittle-endian
Chacha
io
I/O
keccakLittle-endian
Keccak
poly1305Little-endian
Poly1305
prgstd and little-endian and (Unix or Windows)
Pseudorandom generator
version_info
17.3.0 (May 24th, 2025)

Structs§

Bytes
Bytes
Error
Error

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
NO_BYTES
No bytes
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
hex_to_bytes
Converts a hexadecimal string into a vector of bytes

Type Aliases§

IoResultstd
Result for I/O functions
Result
Result type used in this crate