nutek-cipher

Crates.ionutek-cipher
lib.rsnutek-cipher
version2.0.7
sourcesrc
created_at2023-02-05 13:12:14.922154
updated_at2024-08-17 02:36:01.0047
descriptionEncrypt and decrypt files and text with ease
homepage
repositoryhttps://github.com/NutekSecurity/nutek-cipher
max_upload_size
id777065
size67,438
Neosb (buahaha)

documentation

README

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

Commit count: 0

cargo fmt