mpc_protocol/
constants.rs

1//! Constants used by the relay library.
2
3/// Noise protocol pattern.
4pub const PATTERN: &str = "Noise_NN_25519_ChaChaPoly_BLAKE2s";
5
6/// Tag for PEM encoding of noise pattern.
7pub const PEM_PATTERN: &str = "NOISE PATTERN";
8
9/// Tag for PEM encoding of private key.
10pub const PEM_PRIVATE: &str = "NOISE PRIVATE KEY";
11
12/// Tag for PEM encoding of public key.
13pub const PEM_PUBLIC: &str = "NOISE PUBLIC KEY";
14
15/// Tag length for the noise protocol.
16pub const TAGLEN: usize = 16;