def des.bits
import bend-osdev-legacy-ciphers@0.1.0.0/des.bend as Desimport Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
123# the bits of a block, bit 1 (the top bit of hi) first
124def des.bits(b: L.LcBlock64) -> List<&2, Bool>:
125 match b:
126 case L.LcBlock64{hi, lo}:
127 L.lc.msb(hi, L.lc.msb(lo, Nil{}))