Documentation

Cryptlib.Protocols.Sphinx.geometry_cbor

Geometry CBOR encoding and hash #

A CBOR map keyed by the katzenpost field names. Messages carry the fields in declaration order; hash is taken over the canonical encoding, whose keys are sorted shortest first and then bytewise.

Each field's key and encoding, in declaration order.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[instance_reducible]

    Missing keys decode to zero or the empty string; unknown keys are rejected.

    Equations
    • One or more equations did not get rendered due to their size.

    The encoding with keys in canonical order.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      BLAKE2b-256 of the canonical encoding; the PKI document's SphinxGeometryHash.

      Equations
      Instances For