bytesutil

package
v0.0.0-...-b439704 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2017 License: BSD-3-Clause Imports: 2 Imported by: 3

Documentation

Overview

Package bytesutil provides utilities for bytes xor operations. The source code is a fork from https://golang.org/src/crypto/cipher/xor.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XorBytes

func XorBytes(dst, a, b []byte) int

xorBytes xors the bytes in a and b. The destination should have enough space, otherwise xorBytes will panic. Returns the number of bytes xor'd.

func XorWords

func XorWords(dst, a, b []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL