Hash family

GOST R 34.11-94

The former Russian hash standard, built around the GOST 28147-89 block cipher

legacy 1 variant GOST R 34.11-94; RFC 5831

Overview

GOST R 34.11-94 is the earlier Russian national hash function, producing a 256-bit digest. It was superseded by Streebog in 2012 but remains present in older GOST-based certificates and software.

The compression function encrypts four 64-bit words of the chaining value under keys derived from the message block using the GOST 28147-89 block cipher, then applies a linear mixing transformation that combines the result with the message and previous state. A 256-bit block checksum and the total length are hashed in at the end. The S-boxes of the underlying cipher are parameters; RFC 4357 defines the widely used CryptoPro parameter set.

NextSSL includes GOST R 34.11-94 with the CryptoPro parameters as described in RFC 4357 and RFC 5831, enabling verification of legacy GOST data. Because the S-boxes are parameters, two implementations using different parameter sets will produce different digests for the same input. The original test parameter set from the standard and the CryptoPro set are both common in older software, so the parameter set must be identified before comparing values.

History

1994–2010
  1. Specified in GOST R 34.11-94

  2. Specified in RFC 4357

  3. Specified in RFC 5831

Security notes

A collision attack with complexity around 2^105 and preimage attacks below the generic bound were published in 2008. These are not practical, but the function is formally withdrawn and slow; use Streebog for new GOST deployments.

Typical uses

Verifying legacy GOST certificates and signaturesInteroperability with older Russian software

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Gost-R-34-11-94
gost-r-34-11-94
legacy out 32 GOST R 34.11-94, RFC 5831, RFC 4357 (CryptoPro parameter set) root

Frequently asked questions

Which GOST R 34.11-94 variants does NextSSL include?

NextSSL registers 1 GOST R 34.11-94 variant: gost-r-34-11-94.