Hash functions

Grostl-512-Sha3r1

Grøstl round 1: the first-round AES-based SHA-3 candidate, archived as unverified code

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Grostl-512-Sha3r1

Grostl-512-Sha3r1 is one of 4 Grøstl (SHA-3 round 1) variants in the NextSSL registry, a cryptographic hash function. It produces a 64-byte (512-bit) output. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Grøstl round 1 is the first-round submission of the Grøstl hash, an AES-based wide-pipe design. It later became a SHA-3 finalist, but this version is archived by NextSSL as unverified research code.

Grøstl is a wide-pipe design built from two AES-style permutations. The round 1 submission was the starting point for the tweaks that followed during the competition. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set.

NextSSL archives the round 1 variants at the output sizes listed in the registry. Each size is a separate entry because the digest length is part of the function's output definition. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices.

Round 1 code is not the version NIST considered for the final, so it should be treated as historical. For current Grøstl work, the round 3 entry is the relevant reference. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set.

History

2007–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Grøstl published

  3. 64 designs submitted; 51 accepted into round 1

    NIST SHA-3 competition
  4. 14 designs advance to round 2

    NIST SHA-3 competition
  5. Five finalists named: BLAKE, Grøstl, JH, Keccak and Skein

    NIST SHA-3 competition
  6. Keccak selected as SHA-3

    NIST SHA-3 competition
  7. SHA-3 published as FIPS 202

    NIST SHA-3 competition

How it works

  1. The message is padded and split into blocks.
  2. Each block is processed by two AES-style permutations built into the compression function.
  3. The state is truncated to the output length chosen by the variant.

Security notes

Round 1 Grøstl was superseded by later tweaks. The tier is unverified, so the archive is for comparison only.

Typical uses

Historical comparison of SHA-3 candidatesResearch and test vectorsNot recommended for production use

Sizes

FieldBytesMeaning
out64Output

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "grostl-512-sha3r1", None, b"abc")[0]

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

Other Grøstl (SHA-3 round 1) variants

3

Frequently asked questions

What is Grostl-512-Sha3r1?

Grostl-512-Sha3r1 is a hash in the Grøstl (SHA-3 round 1) family. Grøstl round 1 is the first-round submission of the Grøstl hash, an AES-based wide-pipe design.

What are the Grostl-512-Sha3r1 sizes?

In NextSSL, Grostl-512-Sha3r1 uses: output 64 bytes.

Who designed Grostl-512-Sha3r1 and when?

Grostl-512-Sha3r1 belongs to the Grøstl (SHA-3 round 1) family, first published in 2008 by Praveen Gauravaram, Lars R. Knudsen, Krystian Matusiewicz, Florian Mendel, Christian Rechberger, Martin Schläffer, Søren S. Thomsen. Its origin: NIST SHA-3 competition, round 1.

Is Grostl-512-Sha3r1 safe to use?

Grostl-512-Sha3r1 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other Grøstl (SHA-3 round 1) variants are there?

NextSSL also registers grostl-224-sha3r1, grostl-256-sha3r1, grostl-384-sha3r1 in the Grøstl (SHA-3 round 1) family.