Expand description
KMAC per NIST SP 800-185.
Structs§
- The result of
bytepad. - An iterator over
BytePad. - The result of
encode_string. - An iterator over
EncodedString. - The result of
left_encode. - The result of
left_encode_bytes. - The result of
right_encode. - The result of
right_encode_bytes.
Functions§
- Prepends the integer encoding of
Wtos, then pads the result to a multiple ofW. - Encodes
ssuch that it can be unambiguously encoded from the beginning. - Encodes
xas a byte string in a way that can be unambiguously parsed from the beginning. - Encodes
x*8as a byte string in a way that can be unambiguously parsed from the beginning. - Encodes
xas a byte string in a way that can be unambiguously parsed from the end. - Encodes
x*8as a byte string in a way that can be unambiguously parsed from the beginning.