Function asymmetricDecrypt

  • Description

    Method to asymmetrically decrypt the data using x25519-xsalsa20-poly1305 algorithm.

    Returns

    Decrypted data

    Parameters

    • data: Uint8Array

      Data to decrypt

    • mySecretKey: Uint8Array

      My private key

    • theirPublicKey: Uint8Array

      Sender's public key

    Returns Uint8Array

Generated using TypeDoc