Post-quantum cryptography workspace for messaging, files, WebAssembly, desktop, and database security.
Vollcrypt Wave is a self-contained, independent military-grade cryptographic protocol designed specifically for tactical radio communications (HF, VHF, UHF bands). Operating under zero-trust, low-bandwidth, and high-noise environments, it combines robust Transmission Security (TRANSEC) and Communications Security (COMSEC) features to protect tactical nets against jamming, interception, and direction-finding metadata tracking.
Unlike vollcrypt-messages, Vollcrypt Wave is fully independent and implements its own standalone cryptographic flow to meet strict low-overhead and high-resilience requirements of tactical digital and software-defined radios (SDR).
| Wave-Control-Plane & M-of-N Consensus: Protects high-impact command execution (e.g., initiating electronic attacks) under a secure control plane. Enforces Zaman Damgası Kontrolü (timestamp drift $ | t_{\text{local}} - t_{\text{packet}} | \le \Delta t$), Sürüm Kontrolü (anti-rollback check on epoch version in NVRAM), and M-of-N Ed25519 signature consensus. Protects against firmware rollbacks via epoch tracking and Merkle Tree verification. |
The vollcrypt-wave library is structured as a zero-dependency, #![no_std] Rust crate. The protocol logic is organized into the following logical modules:
lib): The library entry point coordinating hybrid key encapsulation (ML-KEM-768 + X25519) and session key schedule derivation.hal): Decouples the cryptographic core from transceiver hardware, defining the TransceiverHal, ClockHal, and AudioHal traits.chaos): Implements non-linear dynamical chaos generators (Logistic Map and Lorenz Attractors).chaotic_burst): Schedules micro-burst transmissions using a Chebyshev Polynomial Map to prevent RF pattern identification.doppler): Estimates relative velocity from phase drift in pilot preambles and applies dynamic frequency offsets.electronic_attack): Governs orthogonal spot jamming and look-ahead spectrum blanking during electronic attack operations.tdoa): Resolves target transmitter locations using a Gauss-Newton hyperbolic Time-Difference-of-Arrival (TDoA) solver.delta_grid): Quantizes geographic coordinates into a 12-bit grid packed into a 24-bit compact transmission format.spatial): Wraps coordinates in spatial homomorphic envelopes to protect location privacy during mesh routing.entropy): Simulates and harvests thermodynamic Johnson-Nyquist thermal noise from the transceiver front-end to seed key generation.reconciliation): Manages sub-chain forking, historical look-ahead search, and deterministic state merges during network partition recovery.colocation): Resolves vehicle co-site interference by scheduling a simulated physical blanking bus and settling guard times.side_channel): Implements Edwards coordinate scalar blinding, ML-KEM decoy executions, and random timing jitter.adhoc): Establishes initial peer trust networks via pre-shared trust pools and identity blinding.alias): Periodically rotates call signs and node identifiers using time-sensitive HMAC-SHA256 tokens.fhss): Generates deterministic hopping patterns for FHSS channels using the dynamic chaotic state.stego): Conceals binary payloads within PCM audio streams (LSB) or under the noise floor using DSSS.wave_packet): Defines the binary serializers, CompactWaveFrame, and AEAD tag generation.modulation): Handles FSK/IQ digital modulators, carrier frequency transitions, and automatic gain control (AGC).fec): Implements systematic Reed-Solomon, convolutional Viterbi coding, and dynamic Shannon capacity adaptation.sync): Maintains Time-of-Day (TOD) synchronization and handles GPS/atomic clock bypass logic.codec): Compresses and decompresses 16-bit PCM voice streams to 4-bit IMA ADPCM to fit low-bandwidth channels.routing): Orchestrates store-and-forward mesh routing and Delay-Tolerant Networking (DTN) queues.wave_tcp): Implements sliding-window, NACK-only ARQ transport to minimize radio transmission footprints.ring_buffer): Employs a lock-free Single-Producer Single-Consumer (SPSC) ring buffer for smooth audio playback.eccm): Evaluates channel health, detects jamming anomalies, and triggers acoustic fallbacks.acoustic): Implements ultrasonic FSK modulation and Goertzel spectral detection for acoustic air-gap fallbacks.onion & asym_onion): Implements asymmetric Onion Routing and Sealed Sender metadata wrapping.multicast): Employs Blind Cluster Multicast with No-ACK destination hiding.mutual): Facilitates mutual blind handshakes using Single-use Reply Tokens (SURBs).fountain & gossip): Performs data dissemination using Luby Transform (LT) fountain codes and epidemic gossip flooding.otaz & revocation): Executes over-the-air cryptographic zeroization and device revocation.duress & tamper): Handles duress PIN codes, dead-man’s auto-lock, and tamper hardware interrupt reactions.recipient_target): Controls envelope decryption based on asymmetric recipient wrap tables.otam): Validates control updates and remote commands via M-of-N consensus signatures and epoch counters.| Layer / Mechanism | Primitive / Equation | Purpose |
|---|---|---|
| COMSEC (Asymmetric) | ML-KEM-768 + X25519 | Quantum-resistant hybrid KEM |
| COMSEC (Ad-hoc) | PSTP + Blinding + ZK-PoK | Decentralized ad-hoc trust & mutual KEM handshake |
| COMSEC (Symmetric) | AES-256-GCM / CTR | Authenticated payload encryption |
| COMSEC (Side-Channel) | Edwards Blinding & Decoy Jitter | Defends against SPA/DPA/EMA key leakage |
| ENTROPY (KDF Salt) | $\overline{V_n^2} = 4 k_B T R \Delta f$ | Johnson-Nyquist thermal noise root salt |
| TRANSEC (Hopping) | Lorenz Attractor / Logistic Map | Chaotic FHSS channel & amplitude hopping |
| TRANSEC (Jitter) | Chebyshev Map: $T_{n+1} = \cos(d \arccos T_n)$ | Chaotic micro-burst transmission scheduling |
| TRANSEC (Covert) | 256-Chip DSSS Spreading | Hides signal below noise floor (LPI/LPD) |
| PHYSICAL (Sync) | $\Delta v = \frac{\Delta \phi \cdot c}{2\pi \cdot \Delta t \cdot f_0}$ | Kinematic Doppler correction |
| PHYSICAL (Masking) | Root-Raised-Cosine (RRC) | Bounds chaotic spectrum within yasal mask B (LPD) |
| PHYSICAL (AGC) | $\text{RMS} = \sqrt{\frac{1}{N}\sum \mid s_i \mid^2}$ | Vector amplitude normalization |
| RESILIENCE (FEC) | PGZ RS(32, 28) + Viterbi (Rate 1/2) | Double-layer error correction |
| INFO THEORY (FEC) | $C = B \log_2(1 + \text{SNR})$ & $GF(2^8)$ BM | Shannon capacity & Galois adaptation ($P \in [2, 32]$) |
| RESILIENCE (Acoustic) | CPFSK (19k/21k Hz) + Goertzel | Ultrasonic communication fallback |
| RESILIENCE (Sync) | SHA-256 + HKDF + Look-Ahead | Deterministic P2P & Master Fork-Merge reconciliation |
| GUARDRAIL (OTAM) | Ed25519 M-of-N Consensus | Prevent unauthorized control updates |
| CONTROL PLANE (Wave) | $\mid t_{\text{local}} - t_{\text{packet}} \mid \le \Delta t$ & Ed25519 M-of-N | Control-plane validation and anti-rollback |
| PHYSICAL (Colocation) | Blanking Bus + Priority | Co-site receiver blanking & preemption |
| PHYSICAL (Localization) | Gauss-Newton $2 \times 2$ Hyperbolic Solver | Passive TDoA transmitter coordinate lookup |
| TRANSEC (Compression) | Galois-grid 12-bit integer delta-packing | 24-bit compact coordinates transmission |
| PHYSICAL (Attack) | Orthogonal Phase Noise + Blanking | Spot jamming with look-ahead friendly bypass |
| PHYSICAL (HAL) | TransceiverHal + ClockHal + AudioHal | Hardware Abstraction Layer for transceiver drivers |
The vollcrypt-wave crate is designed to be built, tested, and published completely independently:
cd vollcrypt-wave
cargo clippy --all-targets -- -D warnings
cargo test
cargo package
cargo publish