Hash functions

Md6d384

Ron Rivest's tree-based SHA-3 candidate with provable differential-attack bounds

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 Md6d384

Md6d384 is a cryptographic hash function from the MD6 family. 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

MD6 is a hash function designed by Ron Rivest's group at MIT and submitted to the NIST SHA-3 competition. It was designed for parallelism through a Merkle-tree mode, and did not advance to the second round.

MD6 hashes data in a 4-ary Merkle tree: each compression call takes 64 words of input data and a 25-word header with key, unique node ID and control words, and produces 16 words. The compression function is a long nonlinear feedback shift register of 64-bit words using only XOR, AND and shifts. The default number of rounds depends on the digest length (40 + d/4), and a level parameter can switch to sequential Merkle–Damgård style at a chosen tree height.

NextSSL includes the reference MD6 and digest-specific entries MD6-224, MD6-256, MD6-384 and MD6-512. MD6 did not advance to round two; its designers stated that it was not ready, since the round count their security proofs required made it too slow. Its tree structure anticipated later designs such as BLAKE3 and KangarooTwelve.

History

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

    NIST SHA-3 competition
  2. MD6 published by Ronald L. Rivest et al.

  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

Security notes

No practical attacks on the full proposed MD6 are known. It was not advanced in the SHA-3 competition and is unverified in NextSSL, so it is suitable for research only.

Typical uses

Research on tree hashingSHA-3 competition history

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

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

Frequently asked questions

What is Md6d384?

Md6d384 is a hash in the MD6 family. MD6 is a hash function designed by Ron Rivest's group at MIT and submitted to the NIST SHA-3 competition.

What are the Md6d384 sizes?

In NextSSL, Md6d384 uses: output 48 bytes.

Who designed Md6d384 and when?

Md6d384 belongs to the MD6 family, first published in 2008 by Ronald L. Rivest et al.. Its origin: NIST SHA-3 competition (round 1).

Is Md6d384 safe to use?

Md6d384 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).