Hash functions

JH-384-Sha3r1

JH round 1: a bitsliced 1024-bit-state SHA-3 candidate, archived as unverified research 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 JH-384-Sha3r1

JH-384-Sha3r1 is one of 4 JH (SHA-3 round 1) 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

JH is a hash designed by Hongjun Wu for the SHA-3 competition. Round 1 is the first submission, which used a 1024-bit internal state and a bitsliced design, and NextSSL archives it as unverified code.

JH uses a 1024-bit internal state, with a round function built from a bitsliced S-box and a linear layer. Each message block is compressed into the state, and the output is taken from its final part. 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 1 submission, before the tweaks that led to the round 3 finalist. NextSSL lists output sizes of 224, 256, 384 and 512-bit, and the entries are jh-224-sha3r1, jh-256-sha3r1, jh-384-sha3r1, jh-512-sha3r1. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons.

JH was one of the SHA-3 finalists. Published analysis covers reduced-round versions, and no full-round break is recorded in NextSSL's data. Its tier is unverified, so use SHA-2 or SHA-3 for production. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. 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.

History

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

    NIST SHA-3 competition
  2. JH published by Hongjun Wu

  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 512-bit blocks.
  2. Each block is combined with the 1024-bit state through the bitsliced round function.
  3. The final state is truncated to the variant's output size.

Security notes

No full-round break of JH is recorded in NextSSL's data. The archive is tiered unverified, so no security claim is made for it.

Typical uses

Historical comparison of SHA-3 finalistsResearch into bitsliced hash designsNot recommended for production hashing

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

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

Other JH (SHA-3 round 1) variants

3

Frequently asked questions

What is JH-384-Sha3r1?

JH-384-Sha3r1 is a hash in the JH (SHA-3 round 1) family. JH is a hash designed by Hongjun Wu for the SHA-3 competition.

What are the JH-384-Sha3r1 sizes?

In NextSSL, JH-384-Sha3r1 uses: output 48 bytes.

Who designed JH-384-Sha3r1 and when?

JH-384-Sha3r1 belongs to the JH (SHA-3 round 1) family, first published in 2008 by Hongjun Wu. Its origin: NIST SHA-3 competition, round 1.

Is JH-384-Sha3r1 safe to use?

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

NextSSL also registers jh-224-sha3r1, jh-256-sha3r1, jh-512-sha3r1 in the JH (SHA-3 round 1) family.