8 releases (4 stable)

2.0.7 Aug 17, 2024
2.0.1 Aug 15, 2024
1.0.1 Apr 20, 2024
0.3.5 Sep 21, 2023
0.2.0 Feb 5, 2023

#82 in Command-line interface

Download history 402/week @ 2024-08-12 9/week @ 2024-08-19 40/week @ 2024-09-16 20/week @ 2024-09-23 6/week @ 2024-09-30

391 downloads per month

MIT/Apache

35KB
725 lines

nutek-cipher

Encrypt and decrypt files and text with ease.

setup

cargo install nutek-cipher

or download binary for your OS type from GitHub release page

GitHub Releases Page

usage

File or text (from standard input) encryption for modern days

Usage: nutek-cipher [OPTIONS]

Options:
  -e, --encrypt                    encrypt
  -d, --decrypt                    decrypt
  -i, --input-file <INPUT_FILE>    input file
  -o, --output-file <OUTPUT_FILE>  output file
      --sum-codes <SUM_CODES>      separated by colon ":" paths to key_path:nonce_path files that will be merged into codes file
      --codes-file <CODES_FILE>    codes from one file in format: key=xxx nonce=yyy
      --display-codes              display codes loaded from file using --codes-file flag and then exit
  -r                               random key and nonce
      --save-codes                 save key and nonce to separete codes file
      --stdout                     print result to stdout
  -h, --help                       Print help
  -V, --version                    Print version

for example:

echo "hahaha" | nutek-cipher --stdout -e -r --save-codes

This will encrypt text hahaha with random key and nonce and save your codes to your user Downloads folder

cipher in use

This program uses AES-GCM-SIV cipher with 32 bytes key and 12 bytes nonce. It's enough for home use.

license

Apache-2.0 or MIT

Dependencies

~2–13MB
~97K SLoC