Crate sha3_utils

Source
Expand description

SHA-3 utilities.

Structs§

Functions§

  • Prepends the integer encoding of W to s, then pads the result to a multiple of W.
  • Encodes s such that it can be unambiguously encoded from the beginning.
  • Encodes x as a byte string in a way that can be unambiguously parsed from the beginning.
  • Encodes x*8 as a byte string in a way that can be unambiguously parsed from the beginning.
  • Encodes x as a byte string in a way that can be unambiguously parsed from the end.
  • Encodes x*8 as a byte string in a way that can be unambiguously parsed from the beginning.