← Lab /Security & privacy

Naïve composition of unidirectional encrypted channels is detectable

The authors claim to construct provably secure bidirectional fully encrypted protocols that meet their new security definitions

Security & privacy arXiv 15 Sep 2026 Method Prototype evidence

Published as “Closing the Loop: Bidirectional Fully Encrypted Protocols”

Why it matters

BiFEP enables censorship-resistant, fully encrypted bidirectional communication with private termination, offering stronger metadata protection than existing protocols.

Summary

BiFEP implementations pass all security tests, including adversarial mutation, dropping and replay, and achieve low cover expansion of 1.09× near saturation. The deterministic suite saw all 62,119 assertions pass, and the constructions provide bidirectional traffic shaping, active integrity, and private termination not found in TLS, QUIC, WireGuard, Shadowsocks, obfs4, or Tor. Overhead can be higher at low load (2.0× expansion) and short scheduling intervals may cause deadline overruns.

What they found 5

  1. The implementation passed a suite of security tests with low cover expansion

    “The implementation passed a suite of security tests, including adversarial mutation, dropping and replay tests, while achieving cover expansion from 2.0× at half load to 1.09× near saturation.”

  2. All deterministic assertions succeeded

    “The deterministic suite comprised 143 scenarios, 491 trials, and 5,321 logical epochs; all 62,119 assertions passed (Table III).”

  3. Cover expansion drops from 2.0× at half load to 1.09× at high load

    “expansion is 2.0× at half load and falls to 1.09× at the largest tested load; the excess comprises wrapper/inner framing, schedule headroom, and packing slack.”

  4. Naive composition leaks half-close timing while BiFEP does not

    “naive composition exposes both half-close times and their order, whereas BIFEP keeps both directions scheduled through the shared close bucket.”

  5. Byte-level diagnostics show near-uniform entropy

    “Empirical byte entropy ranged from 7.999279 to 7.999749 bits/byte, and the largest absolute correlation was 0.004668.”

Caveats 6

  • expansion is 2.0× at half load and falls to 1.09× at the largest tested load;
  • Overruns affected 56% of 5 ms epochs, 21% of 10 ms epochs, and 0.33% of 20 ms epochs; none were observed at 50 or 100 ms.
  • Our construction assumes authenticated shared keys and agreed public parameters;
  • Full deployments would need to additionally provide congestion control, NAT traversal, fragmentation-safe sizing, and application-data reliability within the public schedule.
  • deadline overruns at 5, 10, and 20,ms, but none at 50 or 100,ms (Figure 5).
  • memory grows linearly with the number of accepted semantic datagrams.

What’s new here 4

  • Provides a single security object that jointly governs both traffic directions and termination.
  • Introduces encrypted close coordination that quantizes termination time while hiding exact private close events.
  • Implements bidirectional traffic shaping with scheduled cover traffic for both streams and datagrams.
  • Demonstrates that naive composition of two unidirectional FEPs fails to hide half-close timing.