subtle

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstantTimeAllZero added in v0.14.0

func ConstantTimeAllZero(bytes []byte) bool

func XORBytes added in v0.14.0

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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