Preparing search index...
The search index is not available
@lit-protocol/js-sdk
@lit-protocol/js-sdk
encryption/src
zipAndEncryptFiles
Function zipAndEncryptFiles
zip
And
Encrypt
Files
(
files
:
File
[]
, params
:
DecryptRequest
, litNodeClient
:
ILitNodeClient
)
:
Promise
<
EncryptResponse
>
Zip and encrypt multiple files.
Returns
The encrypted file and the hash of the file
Parameters
files:
File
[]
The files to encrypt
params:
DecryptRequest
litNodeClient:
ILitNodeClient
The Lit Node Client
Returns
Promise
<
EncryptResponse
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@lit-
protocol/js-
sdk
access-
control-
conditions/src
auth-
browser/src
cosmos
Connect
eth
Connect
sol
Connect
auth-
helpers/src
bls-
sdk/src
constants/src
contracts-
sdk/src
core/src
crypto/src
ecdsa-
sdk/src
encryption/src
lit-
auth-
client/src
lit-
node-
client-
nodejs/src
lit-
node-
client/src
logger/src
misc-
browser/src
misc/src
nacl/src
pkp-
base/src
pkp-
client/src
ethers
ethers
constants
providers
utils
RLP
base64
pkp-
cosmos/src
Long
pkp-
ethers/src
pkp-
sui/src
pkp-
walletconnect/src
sev-
snp-
utils-
sdk/src
types/src
uint8arrays/src
wrapped-
keys-
lit-
actions/src
wrapped-
keys/src
Access
Control
Conditions
Validator
Props
Auth
Material
Validator
Props
Params
Validators
Type
params
Validators
decrypt
From
Json
decrypt
To
File
decrypt
To
String
decrypt
To
Zip
decrypt
Zip
File
With
Metadata
encrypt
File
encrypt
File
And
Zip
With
Metadata
encrypt
String
encrypt
To
Json
encrypt
Zip
safe
Params
verify
Jwt
zip
And
Encrypt
Files
zip
And
Encrypt
String
Generated using
TypeDoc
Zip and encrypt multiple files.
Returns