Repo or source
https://github.com/nostr-protocol/nips
What to explain
Private messaging: NIP-44 v2 payloads (ECDH conversation key via HKDF-extract, per-message keys via HKDF-expand, ChaCha20 + HMAC-SHA256, the version byte, and power-of-two padding buckets that hide message length); why NIP-04 is deprecated; then NIP-59 seals and gift wraps with random ephemeral keys and NIP-17 DMs β metadata hiding, timestamps fuzzed, and the explicit limits (no forward secrecy).
This book is part of the series "Nostr Implementation Possibilities" (book 3 of 10) β pass --series "Nostr Implementation Possibilities" --series-order 3 to video.mjs. Depends on the nostr viz toolkit (PR #120) being merged.
Cover title
Sealed and Wrapped
Subtitle (optional)
NIP-44 encryption and NIP-17 private messages
Cover animal (optional)
an octopus
Accent color (optional hex)
#34d399
Model
(claude-opus-4-8)
Repo or source
https://github.com/nostr-protocol/nips
What to explain
Private messaging: NIP-44 v2 payloads (ECDH conversation key via HKDF-extract, per-message keys via HKDF-expand, ChaCha20 + HMAC-SHA256, the version byte, and power-of-two padding buckets that hide message length); why NIP-04 is deprecated; then NIP-59 seals and gift wraps with random ephemeral keys and NIP-17 DMs β metadata hiding, timestamps fuzzed, and the explicit limits (no forward secrecy).
This book is part of the series "Nostr Implementation Possibilities" (book 3 of 10) β pass --series "Nostr Implementation Possibilities" --series-order 3 to video.mjs. Depends on the nostr viz toolkit (PR #120) being merged.
Cover title
Sealed and Wrapped
Subtitle (optional)
NIP-44 encryption and NIP-17 private messages
Cover animal (optional)
an octopus
Accent color (optional hex)
#34d399
Model
(claude-opus-4-8)