[!WARNING] This is a very rough MVP, a new release with more security and ease of use is in the works
cryptoooor is a command-line tool for encrypting and decrypting files using AES-256-GCM encryption. It allows users to securely encrypt files and then decrypt them later using a derived key.
Clone the repository:
git clone https://github.com/yourusername/cryptoooor.git
cd cryptoooor
Build the project using Cargo:
cargo build --release
Run the executable:
./target/release/cryptoooor
To encrypt a file, run the following command:
cryptoooor myfile.txt
This will generate an encrypted file with the .bin
extension, e.g., myfile.bin
.
To decrypt a previously encrypted file, run the following command:
cryptoooor -d myfile.bin
This will decrypt the file and save the output with the .dec
extension, e.g., myfile.dec
.
-d, --decrypt
: Decrypts the specified .bin
file.cryptoooor uses the Scrypt algorithm for key derivation. It generates a key using a password that is hashed with a salt, ensuring that each key is unique for a given password-salt pair.
AES-256-GCM is used to securely encrypt the contents of files. The ciphertext and nonce are stored together, and both are required to decrypt the file.
The nonce and key are used to decrypt the file and recover the original contents.
Feel free to contribute by submitting issues or pull requests.
This project is licensed under the MIT License.