@libp2p/noise
Noise XX handshake connection encrypter for libp2p using X25519, ChaCha20-Poly1305, SHA-256 and HKDF.
In short
What to know.
- Algorithms
- Noise Protocol Framework, X25519, ChaCha20-Poly1305, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) and 1 more2 of 5 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Plan a move away from Noise Protocol Framework, X25519 before large quantum computers exist.
0 in the store
Advisories
No advisory in the store for this package.
OSV listed none on 3 December 2026, 16:49 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- npm registry metadata for @libp2p/noiseregistry.npmjs.orgRetrieved 3 December 2026
- @libp2p/noise crypto interfaceraw.githubusercontent.comRetrieved 3 December 2026
Full record
- Package
- @libp2p/noise
- Ecosystem
- npm
- Role
- Protocol
- Repository
- github.com/libp2p/js-libp2p
- Status
- Not marked deprecated by its registry or maintainers.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:49 UTC
- Findings
- No finding refers to this package yet.
Algorithms it provides
- Noise Protocol Framework key-exchangeClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.Noise Protocol Framework, X25519
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.ChaCha20-Poly1305, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), HKDF
Notes describe algorithm families, not any one project.