def initial

mylsm-lsm-store@0.6.0.1 · src/hub_sha/core.bend:14

import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core
import Base
import mylsm-lsm-store@0.6.0.1/src/hub_sha/state.bend as S

14# SHA-256 for byte sequences. Each input U32 contributes its low 8 bits.
15# SHA-256 arithmetic is native U32, hence addition wraps modulo 2^32.
16def initial() -> S.State:
17  S.H{1779033703, 3144134277, 1013904242, 2773480762,
18    1359893119, 2600822924, 528734635, 1541459225}

Uses (1)

Used by (3)