Expand description
Sphinx mix format and cryptographic protocols for the NOX mixnet. Based on Danezis & Goldberg, “Sphinx: A Compact and Provably Secure Mix Format” (IEEE S&P 2009).
Re-exports§
pub use sphinx::build_multi_hop_packet;pub use sphinx::derive_keys;pub use sphinx::PathHop;pub use sphinx::ProcessResult;pub use sphinx::SphinxError;pub use sphinx::SphinxHeader;pub use sphinx::HEADER_SIZE;pub use sphinx::MAC_SIZE;pub use sphinx::NONCE_SIZE;pub use sphinx::ROUTING_INFO_SIZE;pub use sphinx::SHIFT_SIZE;pub use sphinx::packet::PacketError;pub use sphinx::packet::SphinxPacket;pub use sphinx::packet::HEADER_SIZE as PACKET_HEADER_SIZE;pub use sphinx::packet::MAX_PAYLOAD_SIZE;pub use sphinx::packet::NONCE_SIZE as PACKET_NONCE_SIZE;pub use sphinx::packet::PACKET_SIZE;pub use sphinx::packet::PAYLOAD_OVERHEAD;pub use sphinx::packet::POLY1305_TAG_SIZE;pub use sphinx::surb::Surb;pub use sphinx::surb::SurbError;pub use sphinx::surb::SurbRecovery;pub use sphinx::surb::DEFAULT_POW_DIFFICULTY;pub use sphinx::pow::count_leading_zeros;pub use sphinx::pow::default_solver;pub use sphinx::pow::fast_solver;pub use sphinx::pow::meets_difficulty;pub use sphinx::pow::Blake3Pow;pub use sphinx::pow::PowAlgorithm;pub use sphinx::pow::PowError;pub use sphinx::pow::PowSolver;pub use sphinx::pow::Sha256Pow;pub use sphinx::pow::DEFAULT_THREADS;pub use sphinx::pow::MAX_DIFFICULTY;pub use sphinx::pow::MIN_DIFFICULTY;