Skip to main content

Crate rns_crypto

Crate rns_crypto 

Source

Modules§

aes128
aes256
ed25519
hkdf
hmac
identity
pkcs7
ratchet
Destination ratchet history. No clock, filesystem, or global state is required.
sha256
sha512
token
x25519

Structs§

FixedRng
Deterministic RNG for testing.
OsRng
OS-backed RNG using getrandom(2) syscall on Linux.

Traits§

Rng
Trait for random number generation. Callers provide an implementation; in std builds this wraps OS randomness.