pub fn root_bytes(material: &str) -> Vec<u8> ⓘExpand description
Canonical root material from an environment/config value (S9 §2.1).
A 64-hex-char key is decoded to its 32 canonical bytes; anything else is used raw so legacy/test material keeps a stable identity. The mesh identity and the record-attestation subkey derive from the same canonical root; purpose APIs may additionally require canonical material (record attestations derive only from a 64-hex root — an honest negative, never an off-contract root).