Documentation
    Preparing search index...
    • Create session keys for receiving encrypted messages from a peer. Use sharedKey.receive for decryption with decryptCryptoboxPayload.

      Parameters

      • selfKeyPair: KeyPair

        Your Ed25519 keypair

      • senderPublicKey: string

        The sender's public key (hex string)

      Returns SessionKeys

      Session keys with .receive for decryption