CipherModes.cm.xor_bytes: def of bend-osdev-cipher-modes@0.1.0.0 Import: import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as CipherModes Lines 171-177 of bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend&start_line=171&end_line=177 import Base # byte-wise XOR, as long as the shorter list def cm.xor_bytes(xs: List<&2, U32>, ys: List<&2, U32>) -> List<&2, U32>: match xs ys: case Con{a, s} Con{b, t}: Con{cm.byte(U32.xor(a, b)), cm.xor_bytes(s, t)} case _ _: Nil{} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend&name=cm.byte