syncspin-core 0.4.0

Sendspin protocol core: Noise handshake, framing, messages and the clock filter
Documentation
//! Pairing primitives shared by clients and servers.
//!
//! The pairing token is the operator-facing half: one string that carries a client's identity
//! and pairing secret, or a dynamic pairing code, from the client into the server. It is text, so
//! it lives here unconditionally.
//!
//! Code-based pairing additionally authenticates with CPace, a PAKE that turns a short pairing
//! code into a shared key, and seals the two values that cross the wire under its output. Both
//! are pure functions of bytes, so they live in this crate rather than in `syncspin-client`,
//! which owns the pairing attempt state machine. They are behind the `pairing-code` feature: the
//! default build has no PAKE, no Elligator 2, no AEAD of its own and no dependency on the map.

pub mod token;

#[cfg(feature = "pairing-code")]
pub mod code;

#[cfg(feature = "pairing-code")]
pub mod pake;

#[cfg(feature = "pairing-code")]
pub mod wrap;