#encryption #encryption-key #symmetric-encryption

app wdcrypt

CLI to encrypt the current working directory with Fernet encryption

9 stable releases

new 2.3.3 Oct 19, 2024
2.3.2 Aug 12, 2023
2.3.1 Apr 7, 2023
2.2.4 Feb 9, 2023
0.0.1 Sep 23, 2022

#136 in Cryptography

Download history 5/week @ 2024-07-01 63/week @ 2024-07-29 44/week @ 2024-09-23 3/week @ 2024-09-30 116/week @ 2024-10-14

163 downloads per month

MIT license

22KB
494 lines

wdcrypt-rs

Rust releaser

A Rust CLI to encrypt the current working directory with Fernet encryption. Fernet guarantees that a message encrypted using it cannot be manipulated or read without the key. Fernet is an implementation of symmetric (also known as “secret key”) authenticated cryptography.
Find more about Fernet here

Demo

Demo

Installation

Make sure you have cargo in your $PATH

$ cargo install wdcrypt 

Usage

$ wdcrypt --help
Encrypt your current working directory

Usage: wdcrypt [COMMAND]

Commands:
  encrypt, -e, --encrypt  Encrypt the current working directory
  decrypt, -d, --decrypt  Decrypt the current working directory
  help                    Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Building for WASM and running it in wasmtime

$ cargo build --release --target wasm32-wasi
$ cd target/wasm32-wasi/release
$ mkdir demo && cd demo
$ wasmtime run --dir=. ../wdcrypt.wasm -- --help

License

MIT

Dependencies

~4–13MB
~177K SLoC