Skip to main content

Module keys

Module keys 

Source
Expand description

Key types and Nostr keypair operations. Key types and Nostr keypair operations.

Modules§

nip49
NIP-49 encrypted private key (ncryptsec) support.

Structs§

KeyRecord
Metadata for a stored key record.
NostrKeypair
A Nostr keypair with memory-locked secret key.

Enums§

KeyType
The type of key stored in Keep.

Functions§

bytes_to_npub
Encode raw bytes as an npub.
npub_to_bytes
Decode an npub to raw bytes.