Expand description
Pure Rust cryptography with no_std support and hardware / SIMD acceleration
for x86_64 and aarch64 (and sometimes WASM).
§⚠️ Warning
This crate has not undergone a third-party security audit or formal cryptographic review yet. Use at your own risk.
Modules§
- aes
- argon2
- Pure Rust implementation of Argon2id (RFC 9106).
- blake2
- chacha
- curve25519
- encoding
- hkdf
- hmac
- mldsa
- mlkem
- p256
- pbkdf2
- PBKDF2 (Password-Based Key Derivation Function 2) as defined in RFC 2898.
- poly1305
- sha2
- sha3
- xwing
Structs§
- Bytes
- A fixed-capacity, stack-allocated bytes buffer of capacity
N. UseSelf::as_refto get the bytes as a&[u8]andSelf::as_mutto get the bytes as a&mut [u8]. ComparingBytesis a constant-time operation. - Hash
- A stack-allocated bytes buffer.
Use
Self::as_refto get the bytes as a&[u8]andSelf::as_mutto get the bytes as a&mut [u8]. ComparingHashis a constant-time operation. - Tag
- A stack-allocated bytes buffer.
Use
Self::as_refto get the bytes as a&[u8]andSelf::as_mutto get the bytes as a&mut [u8]. ComparingTagis a constant-time operation.