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

    Returns

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

    Parameters

    • str: string

      The string to encrypt

    Returns Promise<EncryptedString>

Generated using TypeDoc