Expand description
Encryption and gift wrapping for ContextVM.
Provides NIP-44 encryption/decryption and NIP-59 gift wrapping. The actual gift wrapping is done via nostr-sdk’s Client for full NIP-59 compliance.
Functions§
- decrypt_
gift_ wrap Deprecated - Decrypt a full NIP-59 gift-wrapped event using the Client.
- decrypt_
gift_ wrap_ single_ layer - decrypt_
nip44 - Decrypt a message using NIP-44.
- encrypt_
nip44 - Encrypt a message using NIP-44.
- gift_
wrap Deprecated - Create and publish a full NIP-59 gift-wrapped event.
- gift_
wrap_ single_ layer - gift_
wrap_ single_ layer_ with_ kind - Create a single-layer NIP-44 gift wrap using the provided outer event kind.