Documentation

Cryptlib.Protocols.Sphinx.constants

Sphinx packet format constants #

Scheme-dependent lengths are computed in geometry.lean.

The one-byte tag every routing command starts with.

Equations
Instances For

    1 (tag) + nodeIDLength + macLength.

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

      The two-byte version prefix on every header.

      Equations
      Instances For

        Width of the all-zero tag a correctly decrypted payload ends in.

        Equations
        Instances For