Hash functions

Mcssha4

A first-round SHA-3 submission based on nonlinear feedback shift registers

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 Mcssha4

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

MCSSHA is a hash function family submitted to the first round of the NIST SHA-3 competition. Its design is based on byte-oriented nonlinear feedback shift registers. It did not advance in the competition.

MCSSHA processes input through a nonlinear feedback shift register, an approach more common in stream ciphers than in hash functions, and derives the digest after additional clocking of the register once the message is absorbed. The numbered entries correspond to successive versions of the design. Its approach is unusual among hash designs.

NextSSL includes MCSSHA-4, MCSSHA-5 and MCSSHA-6 entries wired from benchmarking sources. Their exact correspondence to published specifications has not been verified. MCSSHA was among the many first-round submissions that were eliminated quickly after public analysis. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

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

    NIST SHA-3 competition
  2. MCSSHA 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

Security notes

Collision and preimage attacks on early MCSSHA versions were published during the competition. These entries are unverified and must not be used for security.

Typical uses

SHA-3 competition researchBenchmark reproduction

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", "mcssha4", 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 Mcssha4?

Mcssha4 is a hash in the MCSSHA family. MCSSHA is a hash function family submitted to the first round of the NIST SHA-3 competition.

What are the Mcssha4 sizes?

In NextSSL, Mcssha4 uses: output 64 bytes.

Who designed Mcssha4 and when?

Mcssha4 belongs to the MCSSHA family, first published in 2008. Its origin: NIST SHA-3 competition (round 1).

Is Mcssha4 safe to use?

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