Two byte bases give opposite ANF term orders at every degree from 1 to 7 for one bit after two SHA-256 rounds

0 citing publications

We tested two fixed eight-byte message families from the standard SHA-256 initial value. The byte after abc varies. The output is the high bit of working word e after two rounds. In one common linear basis, the first function has more algebraic normal form terms at every degree from one through seven. A second common basis gives fewer terms at each of these degrees. Both maps keep byte zero fixed. Thus every nonzero nonnegative weighting of the seven raw counts changes order between the same two bases. Over all uniform affine byte maps the first function has 119.274 nonconstant terms on average and the second has 106.735. Degrees two through six give the whole difference. Two independent counts of all 7,866,259 affine subspaces give the exact means. Both functions have the same algebraic degree and the same degree histogram of first derivatives.

SHA-256 · algebraic normal form · affine invariance · monomial density · Boolean functions

No votes to show.

References

7
  1. usesTwo bit additions flip the ANF sparsity order for two byte families after two SHA-256 rounds
  2. reviewsOriginal byte labels give fewer sparsity rank reversals than all 199 shuffles for one bit after two SHA-256 rounds with abc and def prefixes
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  5. usesdoi:10.1007/s12095-023-00660-4
  6. reviewsdoi:10.1007/s12095-025-00839-x
  7. reviewsdoi:10.1007/978-3-319-22177-9_9

Cited by

0 publications

No incoming citations on sciscape.