4 releases
0.3.5 | Sep 21, 2023 |
---|---|
0.3.4 | Aug 1, 2023 |
0.3.2 | Aug 1, 2023 |
0.2.0 | Feb 5, 2023 |
#132 in Command-line interface
25KB
377 lines
nutek-cipher
Encrypt and decrypt files and text.
setup
cargo install nutek-cipher
or download binary for your OS type from GitHub release page
usage
Usage: nutek-cipher [OPTIONS]
Options:
-e, --encrypt encrypt
-d, --decrypt decrypt
-i, --input <INPUT> set input file
-o, --output <OUTPUT> set output file
--key-file <KEY_FILE> key from file
--nonce-file <NONCE_FILE> nonce from file
--stdout print results to stdout
-h, --help print help
-V, --version print version
for example:
echo hahaha | nutek-cipher --stdout -e
cipher in use
This program uses AES-GCM-SIV cipher with 32 bytes key and 12 bytes nonce. It's enough for home use.
roadmap
- ✅ changed encryption method to AES-GCM-SIV from AES-CBC using AES-256 encryption algorithm
- ✅ pipe enabled - pass data from command line and export to file, or output as ciphertext to terminal with no unreadable characters
- ✅ write to files
- ✅ read nonce and password from stdin on runtime and from files
- ✅ write tests
- 💥 fail better
- ✅ repair file encryption/decryption
crypto gurus
Probably my vocabulary is wrong, but I want to supply a working copy of encryption/decryption tool;
I'm opened to pull requests correcting my mistakes, although for now there is nothing wrong with the program itself. And after no input from community I will assume that everything is fine.
license
Read LICENSE file for more information (contact me for commercial license).
Dependencies
~2–12MB
~109K SLoC