Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EncryptFileOptions

Options for encryptedFile method.

Hierarchy

  • FileOptions
    • EncryptFileOptions

Index

Properties

Optional chunkSize

chunkSize: undefined | number

Size of chunk being processed at one time. Bigger chunks make function execute faster, but consume more memory in one time and can cause a performance hit. Default value is 64kb.

Optional onProgress

onEncryptProgressCallback parameter.

Optional signal

signal: AbortSignal

Instance of AbortSignal which can be received from AbortController. Used to cancel encryptFile operation.