Modules§
- vec
- A contiguous growable array type with heap-allocated contents, written
Vec<T>.
Macros§
Structs§
- Vec
- A contiguous growable array type, written as
Vec<T>, short for ‘vector’.
Enums§
Constants§
- AES_
256_ GCM_ KEY_ SIZE - AES_
256_ GCM_ NONCE_ SIZE - AES_
256_ GCM_ TAG_ SIZE - BLAK
E2B_ DIGEST_ SIZE - BLAK
E2B_ MAC_ SIZE - BLAK
E3_ DIGEST_ SIZE - BLAK
E3_ MAC_ SIZE - CHACH
A20_ POLY1305_ KEY_ SIZE - CHACH
A20_ POLY1305_ NONCE_ SIZE - CHACH
A20_ POLY1305_ TAG_ SIZE - ED25519_
PRIVATE_ KEY_ SIZE - ED25519_
PUBLIC_ KEY_ SIZE - ED25519_
SIGNATURE_ SIZE - HMAC_
SHA512_ SIZE - SHA512_
DIGEST_ SIZE - SHAMIR_
SECRET_ SIZE - SHAMIR_
SHARE_ SIZE - X25519_
PRIVATE_ KEY_ SIZE - X25519_
PUBLIC_ KEY_ SIZE - X25519_
SHARED_ SECRET_ SIZE - XCHACH
A20_ POLY1305_ NONCE_ SIZE
Traits§
- Crypto
RngCore - An extension trait that is automatically implemented for any type
implementing
RngCoreandCryptoRng.
Functions§
- aes_
256_ gcm_ decrypt - aes_
256_ gcm_ encrypt - aes_
256_ gcm_ generate_ key - aes_
256_ gcm_ generate_ nonce - argon2d
- blake3
- blake2b
- blake2b_
mac - blake2b_
verify - blake3_
kdf - blake3_
mac - blake3_
verify - chacha20poly1305_
decrypt - chacha20poly1305_
encrypt - chacha20poly1305_
generate_ key - chacha20poly1305_
generate_ nonce - decode
- ed25519_
generate_ key_ pair - ed25519_
sign - ed25519_
verify - encode
- get_
random_ bytes - hkdf_
sha512 - hmac_
sha512 - hmac_
sha512_ verify - increment_
nonce - is_zero
- pad
- pbkdf2_
sha512 - read_
f32_ be - read_
f32_ le - read_
f64_ be - read_
f64_ le - read_i8
- read_
i16_ be - read_
i16_ le - read_
i32_ be - read_
i32_ le - read_
i64_ be - read_
i64_ le - read_
i128_ be - read_
i128_ le - read_
isize_ be - read_
isize_ le - read_
nonce - read_u8
- read_
u16_ be - read_
u16_ le - read_
u32_ be - read_
u32_ le - read_
u64_ be - read_
u64_ le - read_
u128_ be - read_
u128_ le - read_
usize_ be - read_
usize_ le - scrypt
- sha512
- shamir_
combine - shamir_
combine_ unpadded - shamir_
split - shamir_
split_ unpadded - transcode
- unpad
- write_
f32_ be - write_
f32_ le - write_
f64_ be - write_
f64_ le - write_
i8 - write_
i16_ be - write_
i16_ le - write_
i32_ be - write_
i32_ le - write_
i64_ be - write_
i64_ le - write_
i128_ be - write_
i128_ le - write_
isize_ be - write_
isize_ le - write_
u8 - write_
u16_ be - write_
u16_ le - write_
u32_ be - write_
u32_ le - write_
u64_ be - write_
u64_ le - write_
u128_ be - write_
u128_ le - write_
usize_ be - write_
usize_ le - x25519_
decrypt - x25519_
encrypt - x25519_
generate_ key_ pair - x25519_
key_ exchange - xchacha20poly1305_
generate_ nonce - xor
- zeroize