Constant const_sv2::NOISE_HASHED_PROTOCOL_NAME_CHACHA
source · pub const NOISE_HASHED_PROTOCOL_NAME_CHACHA: [u8; 32];
Expand description
If protocolName is less than or equal to 32 bytes in length, use protocolName with zero bytes appended to make 32 bytes. Otherwise, apply HASH to it. For name = “Noise_NX_Secp256k1+EllSwift_ChaChaPoly_SHA256”, we need the hash.