GOST 28147-89
The Soviet-era GOST 28147-89 Feistel block cipher, with 256-bit keys and CryptoPro S-box sets
Overview
GOST 28147-89 is a 64-bit block cipher with a 256-bit key, specified in the Soviet and later Russian standard GOST 28147-89. It is a 32-round Feistel network, and RFC 5830 and RFC 4357 document its use. NextSSL carries four CryptoPro S-box variants, all marked legacy.
GOST 28147-89 is the block cipher of the Soviet-era standard GOST 28147-89, which remained in use in Russia and nearby states for decades. It is a 64-bit block cipher with a 256-bit key and a 32-round Feistel structure. The round function combines key addition, eight 4-bit S-boxes and a rotation, and the S-boxes are a parameter of the standard.
NextSSL carries the four CryptoPro parameter sets, gost28147-89-cryptopro-a through -d, each with a 32-byte key and an 8-byte block. The S-box choice is the only difference between them. The family page also lists test and TC26 parameter sets as other variants. RFC 5830 and RFC 4357 document the cipher and its use in Russian cryptographic profiles.
The 64-bit block raises the birthday bound: after about 2 to the power of 32 blocks under one key, collisions become likely, which limits safe data volume. The tier is legacy, so the cipher is kept for interoperability with older Russian systems and for research.
History
1989–2010Specified in GOST 28147-89
Specified in RFC 4357
Specified in RFC 5830
How it works
- The 256-bit key supplies eight 32-bit subkeys, used in a set order across the 32 rounds.
- Each round adds a subkey to one half of the block, passes it through the S-boxes, and rotates the result before XORing it into the other half.
- Decryption uses the same rounds with the subkeys applied in reverse order.
Security notes
Legacy. The cipher has published attacks, and the 64-bit block limits data per key. Use AES or a modern cipher for new designs.
Typical uses
Variants in NextSSL
6| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Gost28147-89-Cryptopro-A gost28147-89-cryptopro-a |
legacy | key 32 · block 8 | GOST 28147-89, RFC 5830, RFC 4357 | root |
| Gost28147-89-Cryptopro-B gost28147-89-cryptopro-b |
legacy | key 32 · block 8 | GOST 28147-89, RFC 5830, RFC 4357 | root |
| Gost28147-89-Cryptopro-C gost28147-89-cryptopro-c |
legacy | key 32 · block 8 | GOST 28147-89, RFC 5830, RFC 4357 | root |
| Gost28147-89-Cryptopro-D gost28147-89-cryptopro-d |
legacy | key 32 · block 8 | GOST 28147-89, RFC 5830, RFC 4357 | root |
| Gost28147-89-TC26-Z gost28147-89-tc26-z |
legacy | key 32 · block 8 | GOST 28147-89, RFC 5830, RFC 4357 | root |
| Gost28147-89-Test gost28147-89-test |
legacy | key 32 · block 8 | GOST 28147-89, RFC 5830, RFC 4357 | root |
Frequently asked questions
What is GOST 28147-89?
GOST 28147-89 is a 64-bit block cipher with a 256-bit key from the Soviet-era GOST standard, carried by NextSSL as a legacy cipher.
Is GOST 28147-89 secure and post-quantum?
It is legacy and not recommended for new designs, because its 64-bit block and published attacks limit it. Grover's algorithm would still halve the 256-bit key strength to about 128 bits.
What key and block sizes does GOST 28147-89 use?
It uses a 32-byte key and an 8-byte block.
Which GOST 28147-89 variants does NextSSL include?
NextSSL registers 6 GOST 28147-89 variants: gost28147-89-cryptopro-a, gost28147-89-cryptopro-b, gost28147-89-cryptopro-c, gost28147-89-cryptopro-d, gost28147-89-tc26-z, gost28147-89-test.
Other block ciphers
All 84Related
The 1977 US standard cipher, broken by exhaustive search, and its three-pass extension
IDEAThe International Data Encryption Algorithm: a Lai–Massey cipher mixing three groups
KASUMIThe 3GPP block cipher behind A5/3, derived from MISTY1
KuznyechikRussia's 128-bit block cipher standard, GOST R 34.12-2015
Magma (GOST 28147-89)The Soviet-era 64-bit Feistel cipher retained in GOST R 34.12-2015