https://github.com/wyhaya/aef
An encrypted file archiver
https://github.com/wyhaya/aef
aes-gcm archiver argon2 command-line file-encryption rust
Last synced: about 2 months ago
JSON representation
An encrypted file archiver
- Host: GitHub
- URL: https://github.com/wyhaya/aef
- Owner: wyhaya
- Created: 2021-06-17T08:37:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-22T02:52:52.000Z (4 months ago)
- Last Synced: 2025-04-10T12:06:07.246Z (3 months ago)
- Topics: aes-gcm, archiver, argon2, command-line, file-encryption, rust
- Language: Rust
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aef [](https://github.com/wyhaya/aef/actions) [](https://crates.io/crates/aef)
`aef` is an encrypted file archiver, it uses `AES-256-GCM` to fully encrypt data and `Argon2id` to prevent brute force data cracking.
> [!WARNING]
> * aef has not undergone any security check
> * Disruptive changes may occur prior to `1.0`## Install
[Download](https://github.com/wyhaya/aef/releases) the binary from the release page
Or use `cargo` to install
```bash
cargo install aef
```## Usage
```bash
# Encrypt
aef -i ./your.file -o ./your.file.aef# Decrypt
aef -i ./your.file.aef -o ./your.file -d
```#### Password
By default you will enter your password in the terminal, if you don't want to enter it manually you can use the `-p` option.
```bash
aef -i ./file -o ./dist.aef -p 123456
```### Pipeline
aef support transmission through `Pipeline`, you can use it in combination with commands like `tar`.
```bash
# Encrypt
tar -czf - your.file | aef -o ./your-file.tgz.aef -p 123456# Decrypt
aef -i ./your-file.tgz.aef -p 123456 | tar -xzf -
```#### Help
```bash
aef --help
``````bash
Usage: aef [OPTIONS]Options:
-i, --input File | Stdin
-o, --output File | Stdout
-p, --password Set password
-d, --decrypt Decrypt file
...
-h, --help Print help
-V, --version Print version
```