#encryption-decryption #decryption #file-encryption #txt-file #aes-cipher #ransomware

bin+lib do-not-cry

Encrypt and decrypt directories/files using Aes cipher. When encrypting, DONOTCRY.txt file will be created and all files will have .donotcry extension.

7 stable releases

1.4.1 Mar 12, 2023
1.3.0 Mar 12, 2023

#2190 in Cryptography

GPL-3.0-or-later

155KB
157 lines

donotcry

Encrypt/decrypt directories and files in AES cipher.

How to use

You can test this program with the files that are in test_files directory.

Encrypt

To encrypt a directory/file, run this command:

donotcry encrypt file.txt

Decrypt

To decrypt a directory/file, run this command

donotcry decrypt file.txt

Install

Build from source

Requirements:

  • Rust compiler
  • cargo

Local

  1. Clone the repo and cd into it.
  2. Build and install in cargo path.
cargo install --path .

crates.io

cargo install do-not-cry

Download binary

You can download a github release for your OS and then move it into your binaries path (/usr/bin for linux and mac).

Auto install

Use install.sh to auto install donotcry for your OS.

This will download install script and run it.

curl -L https://raw.githubusercontent.com/RotrixLOL/do-not-cry/main/install.sh | sh

TODO

Here are some tasks, you can check for more by searching // TODO: in source code.

  • generate randomly key and iv on encrypt, then show it or send an email. when decrypting ask for it.

Contribute

Contributions are open. Just follow CONTRIBUTING.md.

Dependencies

~1–11MB
~60K SLoC