package
Version:
v0.3.2-b1
Opens a new window with list of versions in this module.
Published: May 29, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package subtle is similar to the 'cipher/subtle', only needed for very specific
crypto operations.
func XorBytes(dst, a, b []byte) int
XorBytes is the runtime import from "crypto/cipher.xorBytes" that can use
hardware instructions for a 200% faster XOR operation.
func XorOp(value, key []byte)
XorOp will call the 'XorBytes' function but write the value back to the value
instead.
If you need finer control, use the 'XorBytes' function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.