Skip to main content

NOISE_PATTERN_IK

Constant NOISE_PATTERN_IK 

Source
pub const NOISE_PATTERN_IK: &str = "Noise_IK_25519_AESGCM_SHA256\x00\x00\x00\x00";
Expand description

Noise IK pattern name, zero-padded to HASHLEN (32 bytes). Used on reconnect when the client has a valid cached serverStaticPublic (from a previous XX handshake). Saves one round trip and ships a 0-RTT payload. Mirrors WA Web’s w constant.