This crate provides a fast replay cache for detecting Sphinx packet replays and is intended to be used with my Sphinx cryptography crate which you can find here:
NOTE: If you are unfamiliar with the Sphinx cryptographic packet format then you can read the Sphinx paper, Sphinx: A Compact and Provably Secure Mix Format by George Danezis and Ian Goldberg. See https://cypherpunks.ca/~iang/pubs/Sphinx_Oakland09.pdf
To import sphinx_replay_cache
, add the following to the dependencies section of
your project's Cargo.toml
:
sphinx_replay_cache = "^0.0.3"
Then import the crate as:
extern crate sphinx_replay_cache;
This crate was inspired by the work of Yawning Angel who wrote the Sphinx packet replay cache for the Katzenpost mix server:
https://github.com/katzenpost/server
GNU AFFERO GENERAL PUBLIC LICENSE