Skip to main content

Module hex

Module hex 

Source
Expand description

Lowercase-hex encoding shared by every signed-artifact module.

Signatures, public keys, and payload digests travel as lowercase hex in this crate’s canonical JSON payloads. One encoder/decoder pair keeps the four signed-artifact modules (approval, mandate, handoff, grant) byte-identical instead of each carrying a private copy.

Functions§

decode
Decode a hex string into bytes.
lower
Encode bytes as lowercase hex.