etool
is a command-line utility written in Node.js for encrypting and decrypting text and files using AES-256-CBC encryption. It can also encrypt and decrypt all files in a specified folder.
- Encrypt and decrypt text
- Encrypt and decrypt all files in a folder
- Set a custom password for encryption and decryption
- Clone the repository:
git clone https://github.com/aleyhany9/terminalcraft.git
- Navigate to the
submissions/etool
directory:cd submissions/etool
- Install the dependencies:
npm install
-e, --encrypt <text>
: Encrypt the given text-d, --decrypt <text>
: Decrypt the given text-p, --password <pass>
: Set the encryption password-n, --folder-encrypt <path>
: Encrypt all files in a folder-f, --folder-decrypt <path>
: Decrypt all files in a folder
node index.js -e "Hello, World!" -p "password123"
node index.js -d "encryptedTextHere" -p "password123"
node index.js -n /path/to/folder -p "password123"
node index.js -f /path/to/folder -p "password123"
This project is licensed under the MIT License. See the LICENSE file for details.