Expand description
Leverage common functionality across multiple primitives.
Functionsยง
- Converts a hexadecimal string to bytes.
- Hashes the given
Bytes
using SHA-256. - Converts bytes to a hexadecimal string.
- Assuming that
n = 3f + 1
, compute the minimum size oft
such thatt >= 2f + 1
. - Computes the union of two byte slices.