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.
- AES-256-GCM encryption for secure file encryption.
- Automatic key generation and key derivation using the Scrypt algorithm.
- Support for encrypting and decrypting files via simple command-line arguments.
- Handles binary files securely without corrupting the contents.
-
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.
- Improved Security Features: Enhancing the encryption algorithm and key management for better security.
- User-Friendly Enhancements: Adding a progress bar to provide visual feedback during encryption and decryption processes.
- Extended File Support: Implementing support for additional file formats and larger files.
- Web app: Make cryptoooor available on the web.
Feel free to contribute by submitting issues or pull requests.
This project is licensed under the MIT License.