|Travis Burtrum 15dc9ae46b Handle new 12-byte IV format in openbrowser.sh||1 gadu atpakaļ|
|src||1 gadu atpakaļ|
|Cargo.lock||1 gadu atpakaļ|
|Cargo.toml||1 gadu atpakaļ|
|README.md||1 gadu atpakaļ|
|aesgcm.c||1 gadu atpakaļ|
|openbrowser.sh||1 gadu atpakaļ|
|test.sh||1 gadu atpakaļ|
LEGACY FORMAT: The anchor is made of 96 characters which represent 48 bytes in HEX. The first 16 bytes are the IV the last 32 bytes are the key.
CURRENT FORMAT: The anchor is made of 88 characters which represent 44 bytes in HEX. The first 12 bytes are the IV the last 32 bytes are the key.
The encryption mode is
aes-256-gcm. The authentication tag of 16 bytes is appended to the file.
gcc aesgcm.c -lcrypto -o aesgcm, openbrowser.sh also tries to compile it if the executable not already exist.
You can also encrypt data with aesgcm by sending in
enc as the second parameter.