• Decrypts the provided asset using the LIT protocol.

    Parameters

    • params: {
          ciphertext: string;
          contentHash: string;
          dataToEncryptHash: string;
      }

      The parameters for the function.

      • ciphertext: string
      • contentHash: string
      • dataToEncryptHash: string

    Returns Promise<Uint8Array>

    A promise that resolves with the decrypted asset.

    Throws

    Throws an error if the LIT client is not initialized.

Generated using TypeDoc