crypt-aes
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

GitHub GitHub package.json version Actions Status

Crypt-AES

Cli tool to encrypt files and folders using AES

Install

npm i crypt-aes -g

Usage

crypt-aes encrypt|decrypt [options]

or

c-aes enc|dec [options]

for example:

crypt-aes encrypt --source file.txt --password mypass

or

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 -h

Usage 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});

Package Sidebar

Install

npm i crypt-aes

Weekly Downloads

153

Version

1.1.1

License

MIT

Unpacked Size

59.3 kB

Total Files

66

Last publish

Collaborators

  • rubinder25