A command line tool for encryption file, encrypt by block using aes-256-gcm
Download the binary from the release page
bash
cargo install mei
Encryption file
bash
mei -e foo.file
Decryption file
bash
mei -d foo.file.mei
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 |
+-------+--------------+-------+