def des.block

bend-osdev-legacy-ciphers@0.1.0.0 · des.bend:146

import bend-osdev-legacy-ciphers@0.1.0.0/des.bend as Des
import Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L

146def des.block(bs: List<&2, Bool>) -> L.LcBlock64:
147  +rv = L.lc.rev_bits(bs, Nil{})
148  L.LcBlock64{U32{L.lc.word_lsb(32n, L.lc.drop_bits(32n, rv))}, U32{L.lc.word_lsb(32n, rv)}}

Uses (7)

Used by (1)