Noise Protocol Framework
A framework for building authenticated key exchange handshakes from Diffie-Hellman, a cipher and a hash. WireGuard, the Lightning Network and libp2p use Noise handshakes based on Curve25519 or secp256k1.
In short
What a quantum computer changes.
- Quantum effect
- Broken by Shor's algorithm
- Family
- Classical public keyRests on elliptic-curve discrete logarithm.
- What it means
- Shor's algorithm, run on a large, fault-tolerant quantum computer, factors large numbers and solves discrete logarithms, including those on elliptic curves, far faster than any known classical method. The security of this algorithm rests on elliptic-curve discrete logarithm, which is one of those problems. Anyone with such a machine could work out a private key from the matching public key. Signatures could then be forged, and data protected by a key exchange built on this algorithm could be decrypted, including traffic recorded now and kept for later. Longer keys do not fix this. The usual answer is to plan a move to a post-quantum or hybrid scheme.
This describes the family, not any project that uses it.
3 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| @libp2p/noisenpm | Noise XX handshake connection encrypter for libp2p using X25519, ChaCha20-Poly1305, SHA-256 and HKDF. |
| @chainsafe/libp2p-noisenpm | The former package of the libp2p Noise handshake connection encrypter using X25519, ChaCha20-Poly1305, SHA-256 and HKDF. |
| snowcrates.io | Pure Rust implementation of the Noise Protocol Framework with 25519, AES-GCM, ChaCha20-Poly1305, SHA-2, BLAKE2 and optional P-256 and BLAKE3. |
1 listed
Sources
- The Noise Protocol Framework, Revision 34noiseprotocol.orgRetrieved 3 December 2026
Full record
- Identifier
- noise
- Kind
- key-exchange
- Family
- Classical public key
- Rests on
- elliptic-curve discrete logarithm
- Quantum effect
- Broken by Shor's algorithm
Standards
- Noise Protocol Framework, Revision 34The Noise Protocol FrameworkNoise Protocol Framework, informational, published 11 July 2018Checked 3 December 2026