def both64

bend-osdev-legacy-ciphers@0.1.0.0 · check.bend:110

import bend-osdev-legacy-ciphers@0.1.0.0/check.bend as Check
import Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L

110def both64(~K: Data, ~enc: K -> L.LcBlock64 -> L.LcBlock64, ~dec: K -> L.LcBlock64 -> L.LcBlock64, +k: K, b: L.LcBlock64) -> String:
111  +c = enc(k, b)
112  L.LcBlock64.hex(c) ++ " " ++ L.LcBlock64.hex(dec(k, c))

Uses (4)

Used by (5)