aef

Crates.ioaef
lib.rsaef
version0.9.1
created_at2021-06-17 08:53:15.32081+00
updated_at2025-07-12 15:45:37.23103+00
descriptionAn encrypted file archiver
homepagehttps://github.com/wyhaya/aef
repositoryhttps://github.com/wyhaya/aef.git
max_upload_size
id411255
size34,777
(wyhaya)

documentation

README

aef GitHub Workflow Status Crates.io

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 the binary from the release page

Or use cargo to install

cargo install aef

Usage

# 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 or set the AEF_PASSWORD environment variable.

# Using -p option
aef -i ./file -o ./dist.aef -p 123456

# Using environment variable
export AEF_PASSWORD=123456
aef -i ./file -o ./dist.aef

Pipeline

aef support transmission through Pipeline, you can use it in combination with commands like tar.

# Encrypt
tar -czf - your.file | aef -o ./your-file.tgz.aef

# Decrypt
aef -d -i ./your-file.tgz.aef | tar -xzf -

Help

aef --help
Usage: aef [OPTIONS]

Options:
  -i, --input <INPUT>                File | Stdin
  -o, --output <OUTPUT>              File | Stdout
  -p, --password <PASSWORD>          Set password [env: AEF_PASSWORD=]
  -d, --decrypt                      Decrypt file
  ...
  -h, --help                         Print help
  -V, --version                      Print version
Commit count: 0

cargo fmt