A tools for encrypting and decrypting files, the files are encrypted using AES-256.
I'm using this tool to encrypt password sheet and other sensitive information.
- Node.js
- NPM (Node Package Manager)
npm install
you can set a secret key in .env
file or use a command line argument.
if you use a secretKey
argument, secret key from .env
will be ignored.
npm start enc <file> <secretKey:optional>
npm start dec <file> <secretKey:optional>