Encrypt/Decrypt your files and directories with AES-256. Built with Rust 🦀 for security 🔐 and speed ⚡️.
curl -L https://raw.githubusercontent.com/ClemDev2000/cipher/main/download-latest.sh | sh
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.
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