#replay #cache #mix #sphinx

sphinx_replay_cache

Sphinx cryptographic packet replay writeback cache

4 releases

Uses old Rust 2015

0.0.3 Jan 29, 2019
0.0.2 Jan 29, 2019
0.0.1 Nov 26, 2018
0.0.0 Nov 23, 2018

#14 in #sphinx

AGPL-3.0-only

18KB
294 lines

sphinx cryptographic packet replay tag writeback cache

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

Installation

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;

acknowledgments

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

license

GNU AFFERO GENERAL PUBLIC LICENSE

Dependencies

~17MB
~310K SLoC