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


    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"


    • string: string

      The string to zip and encrypt

    Returns Promise<EncryptedZip>

Generated using TypeDoc