• Decrypt and unzip a zip that was created using encryptZip, zipAndEncryptString, or zipAndEncryptFiles.

    Returns

    A promise containing a JSZip object indexed by the filenames of the zipped files. For example, if you have a file called "meow.jpg" in the root of your zip, you could get it from the JSZip object by doing this: const imageBlob = await decryptedZip['meow.jpg'].async('blob')

    Parameters

    • encryptedZipBlob: AcceptedFileType

      The encrypted zip as a Blob

    • symmKey: SymmetricKey

      The symmetric key used that will be used to decrypt this zip.

    Returns Promise<{
        [key: string]: JSZip.JSZipObject;
    }>

Generated using TypeDoc