https://github.com/batmac/zencpipe
encpipe with zig
https://github.com/batmac/zencpipe
Last synced: 12 months ago
JSON representation
encpipe with zig
- Host: GitHub
- URL: https://github.com/batmac/zencpipe
- Owner: batmac
- License: other
- Created: 2022-07-15T14:58:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-09T19:31:56.000Z (about 1 year ago)
- Last Synced: 2025-06-30T04:13:05.012Z (12 months ago)
- Language: Zig
- Size: 31.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZencPipe
just trying to learn Zig 😊
implemented:
- [x] `-G, --passgen generate a random password`
- [x] `-e, --encrypt encryption mode`
- [x] `-d, --decrypt decryption mode`
- [x] `-p, --pass use `
- [x] `-P, --passfile read password from `
- [x] `-i, --in read input from `
- [x] `-o, --out write output to `
- [x] `-h, --help print this message`
- [ ] tests : probably more needed
original is [here](https://github.com/jedisct1/encpipe)
## How to build
```bash
# clone submodule
git submodule update --init
# get dependencies
zigmod ci
# test
zig build test
# build release
zig build -Drelease-safe # or -Drelease-fast
```
Note that building without `release-safe` or `release-fast` will give a very slow binary.