Documentation
¶
Overview ¶
Package stdx is a legacy aggregate of byte, strings, hash, context, password, and slice helpers.
New helpers should live in the package that owns the concept. Existing exports remain for compatibility.
Index ¶
- func GetBitLSB(b byte, bit int) bool
- func GetByteLSB(value int64, byteNumber int) byte
- func JamCRC32(value []byte) []byte
- func LSBBitValue(bitIdx int, isSet bool) byte
- func LSBBytesToInt(data []byte) int
- func LeftNibble(input byte) int
- func PadMessageToBlocksize(message []byte, blocksize int) []byte
- func RightNibble(input byte) int
- func RotateLeft(val []byte, rotations int) []byte
- func RotateRight(val []byte, rotations int) []byte
- func UnsignedByteToInt(b byte) int
- func XOR(a1, a2 []byte) []byte
- func XORAlt(a1, a2 []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByteLSB ¶
func LSBBitValue ¶
func LSBBytesToInt ¶
func LeftNibble ¶
func PadMessageToBlocksize ¶
func RightNibble ¶
func RotateLeft ¶
RotateLeft byte-rotates a byte array left by the given number of rotations
func RotateRight ¶
RotateRight byte-rotates a byte array left by the given number of rotations
func UnsignedByteToInt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.