Hash functions

Keccak-384-Sha3r3

Keccak round 3: the finalist sponge hash that NIST standardised as SHA-3 in FIPS 202

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 Keccak-384-Sha3r3

Keccak-384-Sha3r3 is one of 4 Keccak (SHA-3 round 3) variants in the NextSSL registry, a cryptographic hash function. It produces a 48-byte (384-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

Keccak round 3 is the finalist version of the Keccak sponge hash. NIST selected Keccak in 2012 and standardised SHA-3 in FIPS 202, but this round 3 archive differs from the final standard in its padding.

Keccak is a sponge construction: the state is absorbed with message blocks, then squeezed for output. Its permutation is Keccak-f, which mixes the state with simple bitwise operations and rotations, so no table lookups are needed. 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.

This is the round 3 finalist version. NIST later published FIPS 202 with a domain separation change, so its digests differ from SHA3 output. NextSSL lists output sizes of 224, 256, 384 and 512-bit, and the registry entries are keccak-224-sha3r3, keccak-256-sha3r3, keccak-384-sha3r3, keccak-512-sha3r3. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set.

The SHA-3 standard, FIPS 202, is derived from Keccak and adds a domain separation suffix to the padding. Round versions therefore do not produce the same digests as SHA3-224, SHA3-256, SHA3-384 or SHA3-512. 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.

History

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

    NIST SHA-3 competition
  2. Keccak published by Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche

  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. Message bits are padded to a multiple of the rate.
  2. Blocks are XORed into the first part of the state and the Keccak-f permutation is applied.
  3. After the last block the output is squeezed from the state up to the digest length.

Security notes

Keccak is the SHA-3 winner and has been intensively analysed; no break of the full standard is known. This round archive is tiered unverified, and it does not implement the final FIPS 202 padding.

Typical uses

Comparison with standard SHA-3Research on sponge constructionsUse SHA3 from FIPS 202 for production

Sizes

FieldBytesMeaning
out48Output

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", "keccak-384-sha3r3", None, b"abc")[0]

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

Other Keccak (SHA-3 round 3) variants

3

Frequently asked questions

What is Keccak-384-Sha3r3?

Keccak-384-Sha3r3 is a hash in the Keccak (SHA-3 round 3) family. Keccak round 3 is the finalist version of the Keccak sponge hash.

What are the Keccak-384-Sha3r3 sizes?

In NextSSL, Keccak-384-Sha3r3 uses: output 48 bytes.

Who designed Keccak-384-Sha3r3 and when?

Keccak-384-Sha3r3 belongs to the Keccak (SHA-3 round 3) family, first published in 2008 by Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche. Its origin: NIST SHA-3 competition, round 3.

Is Keccak-384-Sha3r3 safe to use?

Keccak-384-Sha3r3 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 Keccak (SHA-3 round 3) variants are there?

NextSSL also registers keccak-224-sha3r3, keccak-256-sha3r3, keccak-512-sha3r3 in the Keccak (SHA-3 round 3) family.