Skip to content

πŸ“• Sealed and Wrapped (Nostr Implementation Possibilities β„–3)Β #123

Description

@BLamy

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)

Activity

  1. added
    new-bookIssue β†’ generate one explainer book
    on Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-bookIssue β†’ generate one explainer book

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions