Subtle.diff: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/subtle.bend as Subtle Lines 16-22 of bend-collections-laws-crypto@1.0.0.0/src/crypto/subtle.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/subtle.bend&start_line=16&end_line=22 import Base # OR of the XOR of every pair of positions, over the common prefix. def diff(a: List<&2, U32>, b: List<&2, U32>, acc: U32) -> U32: match a b: case x <> xs y <> ys: diff(xs, ys, U32.or(acc, U32.xor(x, y))) case _ _: acc 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.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor