Documentation

Cryptlib.Protocols.Sphinx.surb

Single-use reply blocks (SURB) #

The SURB operations shared by NIKE- and KEM-Sphinx.

Decrypt a SURB reply payload. keys holds nrHops (key[48] ++ iv[16]) chunks in reverse hop order; all but the last encrypt, the last decrypts.

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

    Build a reply packet from a SURB and a payload. surb is header ‖ firstHopID(32) ‖ sprpKey(48) ‖ sprpIV(16). Returns (packet, firstHopID).

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