• Decrypts data encrypted with encryptContent with the transit private key.

    Returns

    decrypted content.

    Parameters

    • content: string

      encrypted content.

    • Optional options: {
          privateKey?: string;
      }

      options object

      • Optional privateKey?: string

        the hex string of the ECDSA private key to use for decryption. If not provided, will use user's appPrivateKey.

    Returns Promise<string | Uint8Array>

Generated using TypeDoc