Sha.rounds: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as Sha Lines 126-134 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend&start_line=126&end_line=134 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/state.bend as Types def rounds(ks: List<&2, U32>, ws: List<&2, U32>) -> Types.State -> Types.State: match ks ws: case Nil{} _: s => s case k <> kt Nil{}: s => s case k <> kt w <> wt: next = rounds(kt, wt) s => next(step(s, k, w)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend&name=step https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/state.bend&name=State