Two fixed cyclic checks are necessary and sufficient to detect one replaced word in a full SHA-256 schedule with both ends observed

0 citing publications

The checker reads all 64 words of a SHA-256 schedule for an unrestricted block. One observed word can change after expansion. We prove that no single fixed additive map of the 48 modular residuals to a finite cyclic group detects every such edit. A necessary parity equation would require a degree-16 polynomial to divide a power of X+1. Two explicit row sums modulo 2^32 detect every edit, and 2^32 is the smallest common modulus for a bank of these checks. A fair choice between the two sums misses each fixed edit with probability at most one half. A last-word edit attains the bound. For a checker that first converts each residual to a nonnegative integer, we give the exact miss law for uniform weights and bounds on the minimum deterministic modulus. The proof concerns schedule words and uses no compression rounds.

SHA-256 · single-word error detection · modular checksum · message schedule · streaming verification

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. usesA private one-pass SHA-256 schedule check needs 32 bits for one failed equation at miss probability at most 1/65,536
  3. usesEight retained bits suffice for one-pass SHA-256 schedule validation with public coins and one-sided error 1/2
  4. reviewssci:sha256:7153c863b3e499543cc9a3d7dfc268ddaaaec783ec29f294fb81a1bbb900e684 not known to sciscape
  5. usesSingle-unknown equations recover any 12 erased words in the unrestricted 64-word SHA-256 schedule
  6. usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
  7. reviewshttps://msp.org/pjm/1955/5-4/pjm-v5-n4-p07-s.pdf
  8. reviewsdoi:10.3390/s22135028

Cited by

0 publications

No incoming citations on sciscape.