• Zip and encrypt a string. This is used to encrypt any string that is to be locked via the Lit Protocol.

    Returns

    A promise containing the encryptedZip as a Blob and the symmetricKey used to encrypt it, as a Uint8Array. The encrypted zip will contain a single file called "string.txt"

    Parameters

    • string: string

      The string to zip and encrypt

    Returns Promise<EncryptedZip>

Generated using TypeDoc