def feistel
import bend-osdev-cipher-core@0.1.0.0/check.bend as Checkimport Base
import bend-osdev-cipher-core@0.1.0.0/cipher_core.bend as L
71def feistel(+b: L.LcBlock64) -> String:
72 +ks = {[1, 2, 3, 4, 5, 6, 7, 8] : List<&2, U32>}
73 +c = L.lc.fe.run(~U32, ~toy_f, ks, b)
74 L.LcBlock64.hex(c) ++ " " ++ L.LcBlock64.hex(L.lc.fe.unrun(~U32, ~toy_f, ks, c))