Documentation

Cryptlib.Protocols.Sphinx.kdf

Sphinx packet key derivation #

HKDF-Expand of the shared secret into 160 bytes, sliced into five keys.

Equations
Instances For

    The per-hop packet keys, in OKM order.

    Instances For

      A len-byte slice of b as a fixed-width vector.

      Equations
      Instances For

        Derive PacketKeys from a shared secret with HKDF-SHA256.

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

          Derive PacketKeys with an arbitrary KDF.

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