Registry / crypto / go-faster-xor

go-faster-xor

JSON →
library1.0.0gogounverified

Package xor provides fast XOR operations on byte slices.

go get github.com/go-faster/xor
INSTALL
IMPORT
SIG · GO-FASTER-XOR
G
go-faster-xor
cryptogov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

xor
github.com/go-faster/xor

XORs two byte slices together.

package main import ( "fmt" "github.com/go-faster/xor" ) func main() { a := []byte{0x0f, 0xf0} b := []byte{0xff, 0x00} out := make([]byte, 2) xor.Bytes(out, a, b) fmt.Printf("%x\n", out) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
go-faster-xor — go get go-faster-xor · libregistry