Noise Protocol Details
The Noise Protocol Framework is the core cryptographic engine that secures nearly all modern Stratum V2 connections. It provides fast, lightweight, and highly secure encryption with built-in authentication and perfect forward secrecy.
Why Noise Was Chosen
It meets mining’s strict requirements: low latency, strong security on embedded devices, perfect forward secrecy, and simplicity.
The Specific Patterns
Stratum V2 typically uses variants of Noise_XK. WireGuard (often used as an additional VPN layer around mining traffic) uses Noise_IK. Both patterns assume the responder’s static public key is known in advance.
Security Properties
- Confidentiality, integrity, and authenticity.
- Perfect forward secrecy.
- Mutual authentication (when enabled).
- Resistance to active attacks.
Noise turns the miner-pool link from a weak plaintext pipe into a cryptographically robust, low-latency channel. It protects the economic signals (shares, fees, templates) that flow constantly between miners and pools.