Skip to content

wyhaya/aef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An encrypted file archiver

Topics

Resources

Stars

Watchers

Forks

Languages