pindjouf / cryptoooor

Get your files encrypted -- decrypted using AES-GCM encryption.
https://cryptoooor.com
MIT License
3 stars 0 forks source link
aes cryptography encryption file-encryptor kdf kdf-algorithm scrypt security

cryptoooor

Ko-Fi

[!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.

Features

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/cryptoooor.git
    cd cryptoooor
  2. Build the project using Cargo:

    cargo build --release
  3. Run the executable:

    ./target/release/cryptoooor

Usage

Encrypt a file

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.

Decrypt a file

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.

Flags

How It Works

Key Derivation

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.

Encryption

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.

Decryption

The nonce and key are used to decrypt the file and recover the original contents.

Roadmap

Contributing

Feel free to contribute by submitting issues or pull requests.

License

This project is licensed under the MIT License.