Octets.CrOct.xor: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/octets.bend as Octets Lines 19-21 of bend-osdev-crypto@0.1.0.0/octets.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/octets.bend&start_line=19&end_line=21 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B # a xor b, byte by byte, over a's length (b's missing bytes count as 0) def CrOct.xor(a: B.Octets, b: B.Octets) -> B.Octets: B.Octets.of_list(cr.oct.xorl(B.Octets.to_list(a), B.Octets.to_list(b))) Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&name=Octets.of_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&name=Octets.to_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/octets.bend&name=cr.oct.xorl