xor Package xor implements XOR operations on byte slices. Extracted from crypto/cipher. go get github.com/go-faster/xor xor.Bytes(dst, a, b) Ref: #30553 as rejected proposal to provide XOR in go stdlib