mei 0.0.2

Utility tool for encryption file
Documentation

mei GitHub Workflow Status Crates.io LICENSE

A command line tool for encryption file, encrypt by block using aes-256-gcm

Install

Binary

Download the binary from the release page

Cargo

cargo install mei

Usage

Encryption file

mei -e foo.file

Decryption file

mei -d foo.file.mei

File structure

Description:

+---------+-------------+------+-------------+------+
| Version | Name Length | Name | Info Length | Info |
+---------+-------------+------+-------------+------+
|       1 |           2 | n    |           2 | n    |
+---------+-------------+------+-------------+------+

Encrypted data:

Read the block in a loop until the end

+-------+--------------+-------+
| Nonce | Chunk Length | Chunk |
+-------+--------------+-------+
|    12 |            2 | n     |
+-------+--------------+-------+