Sorting the 32 bytes of two independent ideal SHA-256 digests gives a match probability of about 2^(-139.7444)

0 citing publications

We counted matches between sorted 32-byte digests for two distinct messages with independent uniform SHA-256 outputs. The exact pair probability is about 8.5653 times 10 to the power minus 43. All specified outputs with 32 distinct values have the highest probability. One double and 30 singletons form the most common repetition pattern. We checked the count by two exact methods. For any fixed reference, once its counts match, ordered equality needs only 32 minus the largest byte count in selected position checks. This number is minimal. Byte reversal passed the sorted test on two NIST vectors. The probabilities apply to the ideal model.

SHA-256 · digest byte order · abelian square · conformance test · multinomial distribution

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://www.nist.gov/itl/ai/ai-standards-and-guidelines-group/nsrl-test-data
  3. useshttps://www.combinatorics.org/ojs/index.php/eljc/article/view/v16i1r72
  4. reviewshttps://www.ornl.gov/publication/counting-abelian-squares-efficiently-problem-quantum-computing
  5. reviewsExactly 47 digest bits detect all 240 visible feed-forward carry faults on 56 one-block NIST SHA-256 tests

Cited by

0 publications

No incoming citations on sciscape.