def b0

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/random/bytes.bend:53

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/random/bytes.bend as Bytes
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/random.bend as SCR

53# the eight bytes of a word, split at the first
54def b0(x: W.U64) -> U32:
55  match x:
56    case W.U64{+l, +h}:
57      SCR.byte_of(l, 0n)

Uses (3)

Used by (2)