def initial
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/packed/core.bend as Coreimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/state.bend as S
8# SHA-256 for byte sequences. Each input U32 contributes its low 8 bits.
9# SHA-256 arithmetic is native U32, hence addition wraps modulo 2^32.
10def initial() -> S.State:
11 S.H{1779033703, 3144134277, 1013904242, 2773480762,
12 1359893119, 2600822924, 528734635, 1541459225}
Uses (1)
Used by (4)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/packed/packed:hash_unchecked
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/packed/core_model:sha256
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/packed/conformance:sha256_correct
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/packed/packed_proof:hash_unchecked_correct