def xor

bend-kit-postgres@0.3.0.0 · scram.bend:178

import bend-kit-postgres@0.3.0.0/scram.bend as Scram
import Base

178def xor(a: String, b: String) -> String:
179  match a b:
180    case SCon{Chr{+x}, at} SCon{Chr{+y}, bt}:
181      SCon{Chr{(x .^. y : U32)}, xor(at, bt)}
182    case _ _:
183      SNil{}

Uses (4)

Used by (1)