Modes.cr.cbc.enc: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/modes.bend as Modes Lines 50-56 of bend-osdev-crypto@0.1.0.0/modes.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/modes.bend&start_line=50&end_line=56 import Base def cr.cbc.enc(~K: Data, ~Blk: Data, ~enc: K -> Blk -> Blk, ~bxor: Blk -> Blk -> Blk, +k: K, bs: List<&2, Blk>, iv: Blk) -> List<&2, Blk>: match bs: case Nil{}: Nil{} case Con{p, t}: +c = enc(k, bxor(p, iv)) Con{c, cr.cbc.enc(~K, ~Blk, ~enc, ~bxor, k, t, c)} Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List