Documentation
¶
Overview ¶
Package nip44 implements NIP-44: Encrypted Payloads (Versioned), the current ChaCha20+HMAC-SHA256 (encrypt-then-MAC) scheme (v2) for direct-message and other private event content, superseding the legacy AES-CBC scheme in nip04.
Index ¶
Constants ¶
View Source
const (
Version = 2
)
Variables ¶
Functions ¶
func GenerateConversationKey ¶
GenerateConversationKey computes the conversation key using HKDF-SHA256-Extract derived from the secp256k1 shared secret X coordinate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.