GOST R 34.12-2015 Kuznechik block cipher (RFC 7801) with Multilinear Galois Mode (MGM), June 2021 (RFC 9058).
Usage of gostcrypt: gostcrypt [-d] -p "pass" [-i N] [-s "salt"] -f <file.ext> -a string Additional data. -d Decrypt instead of Encrypt. -f string Target file. -i int Iterations. (for PBKDF2) (default 1024) -k string 256-bit key to Encrypt/Decrypt. -p string PBKDF2. -r Generate random 256-bit cryptographic key. -s string Salt. (for PBKDF2)
./gostcrypt -k "" -f plaintext.ext > ciphertext.ext
./gostcrypt -d -k $256bitkey -f ciphertext.ext > plaintext.ext
This project is licensed under the ISC License.