Crate commonware_utils

Source
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 of t such that t >= 2f + 1.
  • Computes the union of two byte slices.