Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 1.74 KB

README.md

File metadata and controls

36 lines (33 loc) · 1.74 KB

GOSTCrypt ☭

ISC License GitHub downloads GoDoc Go Report Card GitHub go.mod Go version GitHub release (latest by date)

Grasshopper-MGM Encryption Tool

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)

Example of encryption/decryption:

./gostcrypt -k "" -f plaintext.ext > ciphertext.ext
./gostcrypt -d -k $256bitkey -f ciphertext.ext > plaintext.ext

License

This project is licensed under the ISC License.

Military-Grade Reliability. Copyright (c) 2020-2021 ALBANESE Research Lab.