def hash
import bend-collections@1.0.0.0/spec/crypto/sha.bend as Shaimport Base
157def hash(bytes: List<&2, U32>, extra: Nat, ks: List<&2, U32>) -> List<&2, U32>:
158 digest(blocks(prepare(bytes, extra), ks)(initial()))
import bend-collections@1.0.0.0/spec/crypto/sha.bend as Shaimport Base
157def hash(bytes: List<&2, U32>, extra: Nat, ks: List<&2, U32>) -> List<&2, U32>:
158 digest(blocks(prepare(bytes, extra), ks)(initial()))