Security › hash-30 · Constant-time review · Performance: x86_1 · arm_1

ZC-DM (hash-30)

CandidateZC-DM
FamilySymmetric (feed-forward sponge)
ArchiveZC-DM.zip (SHA-256: 47e6297d4d707897c64a75a0b490152b2c67abfb1777d89d225b4bcf58a0063b)
Specificationhash-30-spec.pdf PDF
Performancex86_1 · arm_1

hash-30-1: Message modification gives a conditional 2^288 collision estimate

SeverityCritical
Scopedesign
StatusLead
AffectedZC-DM-1536-768 and -1024; full-round attacks remain conditional
DiscoveryNon-trivial
ExploitationConditional 2^288 later-round candidate tests for -768 after affine three-round message modification; no full-round collision
CreditQinghe Crypto Group; three-round message-modification extension by Markku-Juhani O. Saarinen markku-juhani.saarinen@tuni.fi, with AI assistance
Date2026-09-29

Original source: Qinghe Crypto Group's CryptHash Forum post

For ZC-1536, the input difference Delta A_0[0] = 0x1111111111111111 survives the linear layer. At each of its 16 active bit positions, the sequential χ mapping preserves the difference exactly when the two other input bits are 0,1, a probability of 1/4; the one-round trail therefore has weight 32. If it persists for t rounds, Davies–Meyer feed-forward cancels the identical input/output difference and produces a collision at estimated cost 2^(32t).

The original post estimates 2^224, 2^352, and 2^384 for 7, 11, and all 12 rounds. Further extension to that analysis: rate-only linear message modification can enforce the first three trail rounds. For ZC-DM-1536-768, a prefix satisfying 16 capacity conditions and a collision of the resulting four-round reduced hash were demonstrated using valid padded messages from the zero IV. For -1024, the linear systems are soluble on tested chaining states after imposing 32 capacity conditions, but no prefix reaching such a state was constructed. If each of rounds 4–12 then costs an independent 2^32, about 2^288 accepted pairs would be needed for a collision. Independence and full-round satisfiability are unproved. For the -768 rate, each prefix costs about 2^16 trials and its affine solution space has 153 free bits; all 300 sampled pairs held the first three rounds. Sampling from that space adds only polynomial work per pair, while fresh prefixes supply further spaces. The conditional 2^288 later-round test estimate is therefore below the 384-bit collision target, hence Critical / Lead. No full-round collision was demonstrated.

Follow-up: Niu, Peyrin, Zhang, and Zhou's issue #36, posted 2026-11-01, supplies reachable first-three-round certificates for the full-schedule -768 and 11-round -512 DM/DMC cases. Its attached verifier reconstructs them and proves at least 2^415 distinct three-round pairs for each -768 certificate. That is enough candidate supply, but its specified sampler uses at most 2^64 three-round proposals per accepted pair in expectation. For that separate sampler, 2^288 accepted pairs could take up to 2^352 proposals in expectation before full-round tests. This does not price the affine message-modification generator above. The issue's 11-round -512 count of 2^255 accepted candidates likewise is not a below-birthday work bound with that sampler. No full-round collision is shown.

Reproducing

Commands below run in a checkout of the ngcc-harness repository with the candidate built (see its README).

python3 security/zc_iterative_differential.py

The certificate exhausts the three-bit χ inputs and checks both reported masks against the linear rotations: the 16-active-position mask used above has weight 32 per round, while the all-ones mask used for the reported ZC-1280 reduced-round trail has 64 active positions and weight 128 per round. It then prints the unresolved multi-round limitation.

Run python3 security/zc_message_modification.py for the extension's rate-only systems and a replay of the reduced-round collision against the submitted permutation. The witness does not rerun the long search. Its four-round function uses the reference code's last-four-round convention, not the first four rounds of the full schedule.

hash-30-2: An 8-column iterative trail gives an estimated 2^125 collision

SeverityCritical
Scopedesign
StatusLead
AffectedZC-DM-1536-512 and -768
DiscoveryNon-trivial
ExploitationEstimated 2^125.1 (-512) and 2^129 (-768) work, conditional on independence over ten probabilistic rounds; collisions executed for three and four rounds only
CreditMarkku-Juhani O. Saarinen markku-juhani.saarinen@tuni.fi, with AI assistance
Date2026-10-31

Fix a bit position z and let D have plane 0 active on the odd lanes and plane 2 active on the even lanes, all at z. The plane-2 ρ offset (5, 0) has no z-rotation, so after the first ρ the active bits share columns, θ sees zero column parity, and the second ρ maps the even lanes back onto themselves: the linear layer fixes D exactly. Each active χ column keeps its difference with probability 1/4; consecutive rounds are correlated, and the measured rate is 2^-12 per round from every start round.

In the first block, a rate difference on plane 0 at z becomes W (planes 0 and 2, all lanes) and then D. After a prefix fixes 9 (-512) or 13 (-768) capacity bits, message modification makes the first two rounds free, so the block costs about 2^120. The second block cancels the rate part of D and follows D → D for all twelve rounds; the Davies–Meyer feed-forward then cancels the identical input and output difference. Its own 5 or 9 capacity conditions repeat the first block 2^5 or 2^9 times, giving about 2^125.1 and 2^129 against collision targets of 2^256 and 2^384.

The 2^-12 rate was measured for single rounds at every start and for windows of up to four rounds; independence across ten consecutive probabilistic rounds is assumed. No full-round collision was attempted.

Reproducing

Commands below run in a checkout of the ngcc-harness repository with the candidate built (see its README).

sh security/zc_column_trail.sh

The script checks that the reference linear layer fixes the trail patterns at every z and measures the one-round rate at each start round. It then finds fresh three-round collisions for ZC-DM and ZC-DMC at -512 and -768 from the zero IV with padding, replays stored four-round -512 collisions, and checks every pair with the independent Python mode model. The full twelve-round digests differ. It uses the reference code's last-R-round convention and runs in about 10 seconds.

hash-30-3: Sparse ZC-1280 trail gives a conditional 2^144 collision estimate

SeverityCritical
Scopedesign
StatusLead
AffectedZC-DM-1280-512; the 768- and 1024-bit-output instances are not covered
DiscoveryNon-trivial
ExploitationConditional 2^144 candidate trials with polynomial generation and storage; no twelve-round collision
CreditZhongfeng Niu, Thomas Peyrin, Liu Zhang, and Chunning Zhou
Date2026-11-02

Original source: Niu, Peyrin, Zhang, and Zhou's issue #37 Follow-up source: CryptHash Forum post

The ZC-1280-512 state has a 704-bit rate. The reported difference occupies eight distinct χ columns wholly in that rate and is fixed by the submitted linear layer. Each column requires two bit conditions for the difference to persist, giving an exact one-round rate of 2^-16 on a uniform state. A common legal prefix from the zero IV fixes eight capacity conditions; the next message block selects the rate bits. An exact affine construction then enforces the first three rounds, leaving a 274-dimensional family, or 2^273 distinct unordered message pairs. Sampling it costs polynomial work per pair.

For ZC-DM, twelve successful rounds make the permutation's output difference equal the input difference. The full-state Davies–Meyer feed-forward cancels both, giving a collision for distinct padded messages. If each of the nine remaining rounds independently passes its 16-bit condition with conditional probability 2^-16 on the constructed family, the expected cost is 2^144 candidates, below the 2^256 digest birthday bound. That tail probability has not been established for this generated distribution; the estimate is therefore a Lead, not a completed full-round attack. The attachment demonstrates a valid four-round collision and confirms that the same messages have different twelve-round digests.

Reproducing

Commands below run in a checkout of the ngcc-harness repository with the candidate built (see its README).

python3 security/zc1280_issue37.py

The hash-pinned attachment verifier checks the entire three-round affine family and the reduced-round collision. The wrapper compares both saved messages' full twelve-round digests against the submitted native C hash. These checks establish the opening and reduced example, not the remaining-round probability or a full-round collision.