Skip to content

raph6/cli-file-enkryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI File Enkryptor

How to install

Clone the folder and symlink

git clone https://github.com/raph6/cli-file-enkryptor.git
cd cli-file-enkryptor
composer install
chmod +x enkryptor
sudo ln -s "$(pwd)/enkryptor" /usr/local/bin/enkryptor

Usage

Welcome to CLI Enkryptor

Usage : enkryptor COMMAND INPUT-FILE PASSWORD

Commands:
  encrypt    Encrypt your file
  decrypt    Decrypt your file
  help       This 


https://github.com/raph6/cli-file-enkryptor

Exemple of use

# encryption
enkryptor encrypt my-file.txt mypassword
# my-file.txt.enc is created

# decryption
enkryptor decrypt my-file.txt.enc mypassword
# my-file.txt is created

Special thanks

Ismail Aydogmus for refactoring the code and improving the features