Block ciphers

Gost28147-89-Cryptopro-D

The Soviet-era GOST 28147-89 Feistel block cipher, with 256-bit keys and CryptoPro S-box sets

legacy Root API only
Legacy tier.

Old but not broken. Kept for interoperability; root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Gost28147-89-Cryptopro-D

Gost28147-89-Cryptopro-D is one of 6 GOST 28147-89 variants in the NextSSL registry, a block cipher. It uses a 32-byte (256-bit) key and an 8-byte (64-bit) block. Its registry entry cites GOST 28147-89, RFC 5830 and RFC 4357. NextSSL lists it in the legacy tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

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–2010
  1. Specified in GOST 28147-89

  2. Specified in RFC 4357

  3. Specified in RFC 5830

How it works

  1. The 256-bit key supplies eight 32-bit subkeys, used in a set order across the 32 rounds.
  2. 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.
  3. 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

Interoperability with legacy GOST-based systemsResearch into Soviet-era block cipher designTesting GOST S-box parameter sets

Sizes

FieldBytesMeaning
key32Secret key
block8Block

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'legacy' is reachable from the root API only
block = root.call("blockcipher_encrypt", "gost28147-89-cryptopro-d", None, key, plaintext_block)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Similar names

Looking for something else?

Frequently asked questions

What is Gost28147-89-Cryptopro-D?

Gost28147-89-Cryptopro-D is a block cipher in the GOST 28147-89 family. 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.

What are the Gost28147-89-Cryptopro-D sizes?

In NextSSL, Gost28147-89-Cryptopro-D uses: key 32 bytes, block 8 bytes.

Who designed Gost28147-89-Cryptopro-D and when?

Gost28147-89-Cryptopro-D belongs to the GOST 28147-89 family, first published in 1989. Its origin: GOST 28147-89 (Soviet standard), documented in RFC 5830 and RFC 4357.

Which standards define Gost28147-89-Cryptopro-D?

Gost28147-89-Cryptopro-D is referenced by GOST 28147-89, RFC 5830, RFC 4357.

Is Gost28147-89-Cryptopro-D safe to use?

Gost28147-89-Cryptopro-D is in the legacy tier. Old but not broken. Kept for interoperability; root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other GOST 28147-89 variants are there?

NextSSL also registers gost28147-89-cryptopro-a, gost28147-89-cryptopro-b, gost28147-89-cryptopro-c, gost28147-89-tc26-z, gost28147-89-test in the GOST 28147-89 family.