https://github.com/pedroalbanese/gostcrypt
GOST R 34.12-2015 Kuznyechik-MGM Encryption Tool
https://github.com/pedroalbanese/gostcrypt
encryption-decryption grasshopper kuznechik symmetric-encryption
Last synced: 4 months ago
JSON representation
GOST R 34.12-2015 Kuznyechik-MGM Encryption Tool
- Host: GitHub
- URL: https://github.com/pedroalbanese/gostcrypt
- Owner: pedroalbanese
- License: isc
- Created: 2021-10-27T23:45:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T18:07:35.000Z (almost 4 years ago)
- Last Synced: 2025-01-04T21:19:32.263Z (over 1 year ago)
- Topics: encryption-decryption, grasshopper, kuznechik, symmetric-encryption
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GOSTCrypt ☭
[](https://github.com/pedroalbanese/gostcrypt/blob/master/LICENSE.md)
[](https://github.com/pedroalbanese/gostcrypt/releases)
[](http://godoc.org/github.com/pedroalbanese/gostcrypt)
[](https://goreportcard.com/report/github.com/pedroalbanese/gostcrypt)
[](https://golang.org)
[](https://github.com/pedroalbanese/gostcrypt/releases)
### 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:
```sh
./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.