encryptFile

This method uses a buffer to read the file into memory. For comparison use.

Not Recommend. use startStreaming() for streaming the file.

Argument
Type
Description
Required

file

File Object

Input file object

Yes

passphrase

String

Users passphrase

Yes

Returns a buffered Uint8array Object

Last updated