You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
587 B

# xor [![Go Reference](https://img.shields.io/badge/go-pkg-00ADD8)](https://pkg.go.dev/github.com/go-faster/xor#section-documentation) [![codecov](https://img.shields.io/codecov/c/github/go-faster/xor?label=cover)](https://codecov.io/gh/go-faster/xor)
Package xor implements XOR operations on byte slices.
Extracted from [crypto/cipher](https://golang.org/src/crypto/cipher/xor_generic.go).
```console
go get github.com/go-faster/xor
```
```go
xor.Bytes(dst, a, b)
```
**Ref:** [issues/30553](https://github.com/golang/go/issues/30553) as rejected proposal to provide XOR in go stdlib