Commit Graph

11 Commits

Author SHA1 Message Date
Jon Staab 75381b653e Add search chapter 2026-05-20 16:07:58 -07:00
Jon Staab 8ad0bc393b Add protected chapter 2026-05-20 12:27:22 -07:00
Jon Staab f0d49c6fb8 Add expiration chapter 2026-05-20 11:07:12 -07:00
Jon Staab a8a57a3d77 Add filters chapter 2026-04-22 09:33:33 -07:00
Jon Staab c8f6bc1652 Add pow 2026-04-21 06:18:49 -07:00
Jon Staab b96ad44d3a Add addresses chapter 2026-04-17 16:43:56 -07:00
Jon Staab c7ec9f18fa Add kinds chapter 2026-04-16 17:37:21 -07:00
Jon Staab 8a29ff39d6 Add tags chapter 2026-04-16 16:49:18 -07:00
Jon Staab 2553cff300 Add events chapter 2026-04-14 14:25:54 -07:00
Jon Staab 2f334fa3be Add encryption chapter 2026-04-13 21:21:52 -07:00
Jon Staab 5364854881 Add keys chapter
Introduces PublicKey and SecretKey as distinct type-safe wrappers around
secp256k1, with hex and NIP-19 bech32 (npub/nsec) encoding. SecretKey has
a redacted Debug impl and no Display to reduce accidental leakage; it
exposes material only through explicit to_hex / to_nsec. FromStr on both
types auto-detects hex vs. bech32. Eight round-trip tests cover encoding,
auto-detection, prefix validation, debug redaction, and generation.
2026-04-13 20:19:45 -07:00