Module scuttlebutt::utils
source · Expand description
Useful utility functions.
Functions§
- AND two byte arrays, outputting the result.
- AND two byte arrays in place.
- Pack a bit slice into bytes.
- Unpack a bit vector from a slice of bytes.
- XOR two byte arrays, outputting the result.
- XOR two byte arrays in place.
- XOR two byte arrays up to
n
bytes in place. - XOR two byte arrays up to
n
bytes, outputting the result.