def words

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/sha.bend:72

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as Sha
import Base

72def words(bytes: List<&2, U32>) -> List<&2, U32>:
73  match bytes:
74    case a <> b <> c <> d <> rest:
75      decode(a, b, c, d) <> words(rest)
76    case _:
77      Nil{}

Uses (3)

Used by (5)