Lrw.cr.lrw.benc: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/lrw.bend as Lrw Lines 30-36 of bend-osdev-crypto@0.1.0.0/lrw.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/lrw.bend&start_line=30&end_line=36 import Base # one block under a tweak def cr.lrw.benc(~K: Data, ~Blk: Data, ~enc: K -> Blk -> Blk, ~bxor: Blk -> Blk -> Blk, +k: K, t: Maybe<&2, Blk>, p: Blk) -> Blk: match t: case None{}: enc(k, p) case Some{+x}: bxor(enc(k, bxor(p, x)), x) Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe