def bytes_difference.go

qasim-bend-kit@0.1.0.2 · libs/AES256GCM.bend:464

import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES256GCM
import Base

464def bytes_difference.go(a: List<&2, U32>, b: List<&2, U32>, +difference: U32) -> U32:
465    match a b:
466        case Nil{} Nil{}: difference
467        case x <> xs y <> ys:
468            bytes_difference.go(xs, ys, U32.or(difference, U32.xor(x, y)))
469        case _ _: 1

Uses (4)

Used by (4)