English

Instruction sequence expressions for the secure hash algorithm SHA-256

Programming Languages 2017-11-21 v7 Cryptography and Security

Abstract

The secure hash function SHA-256 is a function on bit strings. This means that its restriction to the bit strings of any given length can be computed by a finite instruction sequence that contains only instructions to set and get the content of Boolean registers, forward jump instructions, and a termination instruction. We describe such instruction sequences for the restrictions to bit strings of the different possible lengths by means of uniform terms from an algebraic theory.

Cite

@article{arxiv.1308.0219,
  title  = {Instruction sequence expressions for the secure hash algorithm SHA-256},
  author = {J. A. Bergstra and C. A. Middelburg},
  journal= {arXiv preprint arXiv:1308.0219},
  year   = {2017}
}

Comments

14 pages; several minor errors corrected; counting error corrected; instruction sequence fault repaired; misunderstanding cleared up; a minor error corrected; 15 pages, presentation improved, a minor error corrected. preliminaries have text overlap with arXiv:1301.3297

R2 v1 2026-06-22T01:02:17.119Z