def digest

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

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

272def digest(c: T.CV) -> Array<U32>:
273  match c:
274    case T.CV{h0,h1,h2,h3,h4,h5,h6,h7}:
275      ANode{ANode{ANode{ALeaf{h0},ALeaf{h1}},ANode{ALeaf{h2},ALeaf{h3}}},ANode{ANode{ALeaf{h4},ALeaf{h5}},ANode{ALeaf{h6},ALeaf{h7}}}}

Uses (3)

Used by (3)