Expand description
Cryptographic policy lives here. Networking crates MUST go through CryptoProvider.
Constructions: Ed25519, X25519, HKDF-SHA256, ChaCha20-Poly1305, BLAKE3, HMAC-SHA256. No custom primitives.
Structs§
- Default
Provider - Private
Identity - Session
Keys - Session keys from ephemeral X25519 (forward secrecy). Replay: transcript hash bound into HKDF.
- X25519
Public - A Diffie-Hellman public key
- X25519
Secret - A Diffie-Hellman secret key that can be used to compute multiple
SharedSecrets.