Properties
isStreamMode
isStreamMode: boolean
Methods
getCryptor
- getCryptor(filePath: string, purpose: string): AesCryptor
-
Parameters
-
filePath: string
-
purpose: string
run
- run(data: Buffer, filePath: string, purpose: string): void
-
Parameters
-
data: Buffer
-
filePath: string
-
purpose: string
Returns void
Create or reuse AesCryptor by condition