def hash

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/blake/blake3.bend:268

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake3.bend as Blake3
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/blake/blake3/types.bend as T
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as SC

268def hash(a: Array<U32>, +length: Nat) -> T.CV:
269  +cs = message_chunks(a,length)
270  root(tree(SC.length(T.Out,cs),cs))

Uses (9)

Used by (3)