disco 0.1.0

An implementation of the Disco cryptographic protocol framework in pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
//! Constants used by this crate.
pub const KEY_LEN: usize = 32;
pub const DH_LEN: usize = 32;
pub const NONCE_LEN: usize = 24;
pub const SIG_LEN: usize = 64;

/// Tag length defined in the Noise specification.
pub const TAG_LEN: usize = 16;
/// Maximum message length defined in the Noise specification.
pub const MAX_MSG_LEN: usize = 65535;