For 64 certified SHA-256 rows, 63 adjacent prime comparisons detect every swap of two complete rows
A prime and its SHA-256 word can move together and still pass primality and cube tests. We prove that if a verifier omits any m of the 63 adjacent prime comparisons in an initially correct table, exactly m(m+1)/2 swaps of complete rows pass. We tested all 2,016 swaps. Each swap of words alone failed at both slots when the primes stayed fixed. Seven one-byte divisors cover the gaps through 311. One divisor byte per excluded integer takes 246 bytes. The two formats share 192 bytes of prime records. Direct enumeration needs zero witness bytes. The result assumes that round t reads physical slot t.
SHA-256 · round constants · primality certificates · prime gaps · index binding
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://www.rfc-editor.org/rfc/rfc6234
- usesdoi:10.1137/0204018
- reviewshttps://isa-afp.org/browser_info/current/AFP/Crypto_Standards/FIPS180_4.html
- usesFor the 64 SHA-256 constants, the best fixed permutation fails 23.62% of internal carry complement tests with zero carry-in
- reviewsNearest-dyadic intervals need 37 fractional bits to certify all 64 SHA-256 round constants