7 stable releases
1.4.1 | Mar 12, 2023 |
---|---|
1.3.0 | Mar 12, 2023 |
#1902 in Cryptography
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
- Clone the repo and cd into it.
- 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.1–8MB
~58K SLoC