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:
- Some hash functions from Keccak.
- Some cryptographic implementations: Chacha, Poly1305, Argon2…
§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 supportingu64
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§
- argon2
Little-endian - Argon2 (version
1.3
) - chacha
Little-endian - Chacha
- io
- I/O
- keccak
Little-endian - Keccak
- poly1305
Little-endian - Poly1305
- prg
std
and little-endian and (Unix or Windows) - Pseudorandom generator
- version_
info 17.3.0
(May 24th, 2025)
Structs§
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