Mcssha4
A first-round SHA-3 submission based on nonlinear feedback shift registers
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–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionMCSSHA published
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 64 | Output |
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]
nextssl_root_hash_with("mcssha4", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "mcssha4", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More hash functions
All 424Frequently 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).