Bitcoin P2P Encryption
summary
A new peer‑to‑peer v2 message protocol adds secp256k1 ECDH opportunistic encryption with HKDF-derived keys and ChaCha20‑Poly1305 AEAD, sending a 32‑byte pubkey in the handshake and remaining backward compatible with v1. It drops the 4‑byte double‑SHA checksum, uses one‑byte command IDs, and limits frame size to 8 MB max packet (3 bytes for length) to reduce header overhead. An OpenSSH‑style keystream reuse optimization speeds tiny ping/pong messages; code is implemented and awaits review as an opt‑in experiment.
AI-written summary · about
chapters (5)
- 0:00Start
- 0:37Version Two Message Transfer Protocol
- 3:11Why Encryption
- 13:21Message Structure
- 25:02Is There a Danger of Segmenting the Network
related talks
41mCryptographic speed, reliability & security
40mPost-quantum Key Exchange—A New Hope
50msshlogin: securely authenticating to remote Linux systems via ...
37mHiding the Rings: The Importance of P2P Encryption in Monero
40mSilent Payments and Alternatives to Bitcoin Privacy
24mp≡p ≡ pretty Easy privacy: making privacy the default for everyone
01h 30mDigital Privacy – low and high hanging fruits, and how to pick them.
13mNew Asymmetric Crypto Algorithm in DPDK - EdDSA
