Crates.io | wdcrypt |
lib.rs | wdcrypt |
version | 2.3.3 |
source | src |
created_at | 2022-09-23 14:19:25.145419 |
updated_at | 2024-10-19 14:25:07.360621 |
description | CLI to encrypt the current working directory with Fernet encryption |
homepage | |
repository | https://github.com/stefins/wdcrypt |
max_upload_size | |
id | 672515 |
size | 50,985 |
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
Make sure you have cargo
in your $PATH
$ cargo install wdcrypt
$ 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
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
MIT