def initial

bend-collections@1.0.0.0 · src/crypto/sha/packed/core.bend:8

import bend-collections@1.0.0.0/src/crypto/sha/packed/core.bend as Core
import Base
import bend-collections@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)