Russian Federal block cipher standard GOST R 34.12-2015 with 64-bit blocks and 256-bit keys. Updated version of GOST 28147-89 using a 32-round Feistel network. Standardized in RFC 8891.
| Property | Value |
|---|---|
| Category | Block Ciphers |
| Sub-category | Block Cipher |
| Security status | ๐งช Experimental |
| Complexity | Intermediate |
| Inventor | Russian Federal Security Service |
| Year | 2015 |
| Origin | ๐ท๐บ Russia |
| Source | algorithms/block/magma.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 32 bytes (256 bits) |
| Block sizes | 8 bytes (64 bits) |
Status: ๐งช Experimental
No vulnerabilities are recorded for this implementation.
2 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 โ RFC 8891 Section 5.1 - Encryption Test Vector
| Field | Value |
|---|---|
key |
ffeeddccbbaa99887766554433221100f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff |
input |
fedcba9876543210 |
expected |
4ee901e5c2d8ca3d |
Vector 2 โ RFC 8891 Section 5.2 - Decryption Test Vector
| Field | Value |
|---|---|
key |
ffeeddccbbaa99887766554433221100f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff |
inverse |
Yes |
input |
4ee901e5c2d8ca3d |
expected |
fedcba9876543210 |