def read256_6

bend-collections@1.0.0.0 · src/crypto/hash.bend:131

import bend-collections@1.0.0.0/src/crypto/hash.bend as Hash
import Base
import bend-collections@1.0.0.0/src/crypto/sha/core.bend as C256

131def read256_6(bytes: List<&2, U32>, w0: U32, w1: U32, w2: U32, w3: U32, w4: U32, w5: U32) -> Read256:
132  match bytes:
133    case b0 <> b1 <> b2 <> b3 <> rest:
134      read256_7(rest, w0, w1, w2, w3, w4, w5, C256.pack(b0, b1, b2, b3))
135    case _:
136      Short256{}

Uses (5)

Used by (1)