https://github.com/stefins/wdcrypt
๐A CLI to encrypt all the files and folder in your current working directory.
https://github.com/stefins/wdcrypt
cli encryption fernet privacy rust
Last synced: 12 days ago
JSON representation
๐A CLI to encrypt all the files and folder in your current working directory.
- Host: GitHub
- URL: https://github.com/stefins/wdcrypt
- Owner: stefins
- License: mit
- Created: 2020-07-24T10:45:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-07T22:10:30.000Z (26 days ago)
- Last Synced: 2025-04-12T12:08:17.937Z (21 days ago)
- Topics: cli, encryption, fernet, privacy, rust
- Language: Rust
- Homepage:
- Size: 206 KB
- Stars: 43
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-repositories - stefins/wdcrypt - ๐A CLI to encrypt all the files and folder in your current working directory. (Rust)
README
# wdcrypt-rs
[](https://github.com/stefins/wdcrypt/actions/workflows/rust.yml)
[](https://github.com/stefins/wdcrypt/actions/workflows/release.yml)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](https://cryptography.io/en/latest/fernet/)## Demo
[](https://user-images.githubusercontent.com/28928206/211104078-f5fbc7c6-a9b6-47de-85ed-26ac9ef74f4b.mp4)## Installation
Make sure you have `cargo` in your $PATH
```bash
$ cargo install wdcrypt
```## Usage
```
$ wdcrypt --help
Encrypt your current working directoryUsage: 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`
```bash
$ cargo build --release --target wasm32-wasi
$ cd target/wasm32-wasi/release
$ mkdir demo && cd demo
$ wasmtime run --dir=. ../wdcrypt.wasm -- --help
```## License
MIT