Expand description
Bech32-encoded identifiers for hashtree content
Similar to nostr’s nip19 (npub, nprofile, nevent, naddr), provides human-readable, copy-pasteable identifiers.
Types:
- nhash: Permalink (hash + optional decrypt key)
Structs§
- NHash
Data - NHash data - permalink to content by hash
Enums§
- Decode
Result - Decode result
- NHash
Error - Errors for nhash encoding/decoding
Functions§
- decode
- Decode an nhash string, returning a tagged decode result.
- is_
nhash - Check if a string is an nhash
- nhash_
decode - Decode an nhash string
- nhash_
encode - Encode an nhash permalink from just a hash
- nhash_
encode_ full - Encode an nhash permalink with optional decrypt key