Documentation
    Preparing search index...
    • Create session keys for sending encrypted messages to a peer. Use sharedKey.send for encryption with encryptCryptoboxPayload.

      Parameters

      • selfKeyPair: KeyPair

        Your Ed25519 keypair

      • receiverPublicKey: string

        The receiver's public key (hex string)

      Returns SessionKeys

      Session keys with .send for encryption