def hash.of

ezx@1.11.0.0 · src/lock/up.bend:548

import ezx@1.11.0.0/src/lock/up.bend as Up
import Base
import ezx@1.11.0.0/src/share/sha.bend as Sha

548# the `0x` name a manifest is the digest of
549def hash.of(+manifest: String) -> String:
550  "0x" ++ String.take(Sha.hex(manifest), 32n)

Uses (4)

Used by (3)