https://github.com/go-faster/xor
xor byte slices
https://github.com/go-faster/xor
faster go golang xor
Last synced: 3 months ago
JSON representation
xor byte slices
- Host: GitHub
- URL: https://github.com/go-faster/xor
- Owner: go-faster
- License: bsd-3-clause
- Created: 2020-12-13T12:01:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T22:11:14.000Z (12 months ago)
- Last Synced: 2024-11-25T23:21:50.814Z (12 months ago)
- Topics: faster, go, golang, xor
- Language: Go
- Homepage:
- Size: 167 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: .github/SECURITY.md
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
# xor [](https://pkg.go.dev/github.com/go-faster/xor#section-documentation) [](https://codecov.io/gh/go-faster/xor) [](https://go-faster.org/docs/projects/status#stable)
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:** [#30553](https://github.com/golang/go/issues/30553) as rejected proposal to provide XOR in go stdlib