Has it been Pwned

How SDitH works

SDitH publishes the syndrome of a secret, structured error pattern. The signer proves knowledge of such a pattern without revealing its positions or decoding a fresh ciphertext.

Program status. SDitH is a Round 3 additional signature candidate. This guide uses the main binary SD-in-the-Head v3.0 construction. The submission also describes alternative proof and field variants. NIST program history

A decoding problem as a public identity

A parity-check matrix takes a long binary vector and computes shorter parity information called its syndrome. Many vectors can give the same syndrome. Requiring a vector to have very few nonzero entries makes searching for one much harder. SDitH uses an additional condition: divide the vector into equally sized blocks and put exactly one 1 in every block.

Key generation is easy because the signer chooses the positions first and then multiplies by the public matrix. Afterward the signer already knows the solution. The signature protocol must show that the hidden positions produce the public syndrome and that they satisfy the one-per-block rule. Checking only a linear equation would leave out the constraint that gives this problem its intended difficulty.

The relation and the regularity test

y = Hx; wt(xⱼ) = 1 for every block j

H is a binary parity-check matrix, x is the concatenation of the secret blocks xⱼ, and y is the public syndrome. All additions in Hx are XORs. The Hamming weight wt counts ones. A solution with some empty blocks and others containing two ones is invalid even if its total weight matches.

The v3 main variant expresses each block choice using a smaller witness that encodes the position of its one. It turns this representation and the syndrome equation into polynomial constraints. Its proof operates on masked polynomials representing the witness. The signer commits before the challenge and later supplies data for evaluating the committed polynomials at a challenge point. The verifier checks those evaluations against the constraints. The specification describes a reduction linking its chosen regular-decoding instances to ordinary syndrome decoding.

Worked example

Suppose two blocks each have two positions. Let the four columns of H be (1,0), (0,1), (1,1) and (0,1). The vector (1,0 | 0,1) selects columns one and four, yielding y = (1,1). The vector (1,1 | 0,0) gives the same syndrome and total weight two, but violates the block rule. This shows why a proof must enforce both properties.

From a known solution to a signature

  1. Generate

    Sample a regular secret error pattern and its compact witness. Expand a public seed into the matrix, compute the syndrome, and publish the seed and syndrome.

  2. Sign

    Make randomized commitments to witness and masking polynomials. Calculate the constraint proof, bind the public key, commitments and message into the challenge hash, and supply the openings required at the resulting evaluation point.

  3. Verify

    Reconstruct the committed evaluations from the openings. Use the public decoding instance to check the polynomial evaluation, recompute the transcript hash and compare it with the signed challenge.

Where the proof technique fits

NIST lists SDitH in its broad MPC-in-the-Head group. The main v3 specification uses a VOLE-in-the-Head construction with a polynomial proof; it also discusses a threshold-computation variant separately. The proof machinery controls which evidence is visible. Regular syndrome decoding supplies the computational problem that makes a secret witness valuable. Unlike Classic McEliece, SDitH has no secret decoder and does not receive ciphertexts to correct. An implementation still needs careful seed expansion, fresh masking and exact transcript encodings, because the same hidden positions support many signatures.

A physical fault can expose a signing key

A lab study recovered full keys from the round-three MQOM, SDitH and FAEST reference implementations on an STM32F405. The evidence describes faults induced on that device. Testing a product requires checking how its own signing code and hardware respond.

Read the study and its scope →

Primary sources

Construction and program sources reviewed .