Function decryptData

  • Decrypts an encrypted cipher text

    Parameters

    • encryptedData: EncryptedData

      The encrypted data

    • senderPublicKeyHex: string

      The senders public key in hex format

    • recipientPrivateKeyHex: string

      The recipients private (agreement) key in hex format

    Returns Promise<Uint8Array>

    The original plain text