crypt-aes
v1.1.1
Published
Cli tool to encrypt files or folders using AES
Downloads
19
Maintainers
Readme
Crypt-AES
Cli tool to encrypt files and folders using AES
Install
npm i crypt-aes -gUsage
crypt-aes encrypt|decrypt [options]or
c-aes enc|dec [options]for example:
crypt-aes encrypt --source file.txt --password mypassor
c-aes enc -s file.txt -p mypass| Option | Description | | :------------------------------ | :----------------------------------------------------------------------------------------------- | | --source, -s : | source file or directory | | --password, -p : | password to be used | | --keep, -k : | keep the original file after the operation (optional, default is delete the original file) | | --output, -o : | output directory for the processed files (optional, default is same directory) |
For help:
c-aes -hUsage as a module
crypt-aes can also be used as local npm dependency
import {encrypt, decrypt} from 'crypt-aes';
encrypt({srcPath: './', pswrd: 'mypass', keepSrc: false, destPath: null});