Skip to content

Encrypt/Decrypt your files and directories with AES-256.

License

Notifications You must be signed in to change notification settings

cthiriet/cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cipher 🔐

Encrypt/Decrypt your files and directories with AES-256. Built with Rust 🦀 for security 🔐 and speed ⚡️.

Installation

curl -L https://raw.githubusercontent.com/ClemDev2000/cipher/main/download-latest.sh | sh

Examples

Encrypt a file:

./cipher encrypt -i file.txt -o file.enc

Decrypt a file:

./cipher decrypt -i file.enc -o file.txt

Encrypt and delete the original file:

./cipher encrypt -i file.txt -o file.enc --delete

Encrypt a directory:

./cipher encrypt -i my_dir -o my_dire_enc
# output my_dire_enc.tar.enc

To encrypt a directory, cipher will always append .tar.enc at the end of the output (-o) option.

To ensure the decryption is done correctly DO NOT remove the .tar.enc extension.

Build from source

To build the project on your computer ensure you have Rust installed.

Clone the repo:

git clone https://github.com/ClemDev2000/cipher

Build in release mode:

cargo build --release

Execute the binary:

./target/release/cipher