• Encrypt a zip file created with JSZip using a new random symmetric key via WebCrypto.

    Returns

    A promise containing the encryptedZip as a Blob and the symmetricKey used to encrypt it, as a Uint8Array string.

    Parameters

    • zip: JSZip

      The JSZip instance to encrypt

    Returns Promise<EncryptedZip>

Generated using TypeDoc