<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: NOdP2P</title>
    <description>The latest articles on DEV Community by NOdP2P (@jose_manuelhidalgo_14364).</description>
    <link>https://dev.to/jose_manuelhidalgo_14364</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4276566%2F0a0f3cc1-2f4f-4bb9-a665-67b61872baf8.png</url>
      <title>DEV Community: NOdP2P</title>
      <link>https://dev.to/jose_manuelhidalgo_14364</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jose_manuelhidalgo_14364"/>
    <language>en</language>
    <item>
      <title>How I Built NOdP2P: Post-Quantum ML-KEM-768, Embedded Native Tor (libtor.so), and P2P Video Calls Without a Phone Number</title>
      <dc:creator>NOdP2P</dc:creator>
      <pubDate>Tue, 01 Dec 2026 13:43:57 +0000</pubDate>
      <link>https://dev.to/jose_manuelhidalgo_14364/how-i-built-nodp2p-post-quantum-ml-kem-768-embedded-native-tor-libtorso-and-p2p-video-calls-5475</link>
      <guid>https://dev.to/jose_manuelhidalgo_14364/how-i-built-nodp2p-post-quantum-ml-kem-768-embedded-native-tor-libtorso-and-p2p-video-calls-5475</guid>
      <description>&lt;p&gt;Most encrypted messengers still anchor your identity to a phone number or email address—creating a centralized metadata graph before you ever send a single message.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOdP2P&lt;/strong&gt; takes a different approach: zero phone numbers, zero emails, hybrid post-quantum end-to-end encryption, optional embedded Tor routing, and hardened local storage across Android and a cross-platform Web PWA.&lt;/p&gt;

&lt;p&gt;Here is how the architecture works under the hood.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Zero Phone Numbers or Emails: Local Web3-Style Identity &amp;amp; QR Pairing
&lt;/h2&gt;

&lt;p&gt;Instead of registering on a central directory with a SIM card or email:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local cryptographic identity:&lt;/strong&gt; Your identity keys are generated locally on your device—similar to a Web3 wallet, without accounts, phone verification, or central user databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;QR &amp;amp; encrypted link pairing:&lt;/strong&gt; Contacts are established out-of-band by scanning a QR code or sharing an encrypted pairing link directly between peers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No contact-graph harvesting:&lt;/strong&gt; Because there is no phonebook upload or central account lookup, there is no server-side social graph mapping who talks to whom.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Hybrid Post-Quantum Encryption: ML-KEM-768 + ECDH P-256 + Double Ratchet DR2
&lt;/h2&gt;

&lt;p&gt;Waiting for quantum computers to break classical key exchange puts today's captured traffic at risk ("harvest now, decrypt later"). At the same time, relying purely on a new post-quantum algorithm without classical defense-in-depth is risky.&lt;/p&gt;

&lt;p&gt;NOdP2P combines both in a &lt;strong&gt;hybrid post-quantum key exchange&lt;/strong&gt; paired with forward secrecy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ML-KEM-768 (NIST FIPS 203)&lt;/strong&gt; for post-quantum key encapsulation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ECDH P-256&lt;/strong&gt; for classical elliptic-curve Diffie-Hellman agreement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Double Ratchet (DR2)&lt;/strong&gt; for continuous per-message forward secrecy and post-compromise security.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AES-256-GCM&lt;/strong&gt; for authenticated symmetric encryption of payloads.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Crucially, the cryptographic wire format and key derivation are &lt;strong&gt;bit-compatible&lt;/strong&gt; between:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Android&lt;/strong&gt; (Kotlin + BouncyCastle)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web PWA&lt;/strong&gt; (&lt;code&gt;/app/&lt;/code&gt; running on WebCrypto)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This lets an Android user and an iPhone, Mac, or Windows browser user verify and communicate seamlessly end-to-end without protocol translation servers.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Embedded Native Tor (&lt;code&gt;libtor.so&lt;/code&gt;) Without Orbot
&lt;/h2&gt;

&lt;p&gt;Running Tor on Android traditionally meant asking users to install and configure a separate app like Orbot. NOdP2P embeds &lt;strong&gt;native Tor (&lt;code&gt;libtor.so&lt;/code&gt;) directly inside the Android APK&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero external dependencies:&lt;/strong&gt; Tor runs in-process inside the app—no Orbot installation required.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OFF by default for 0% call latency:&lt;/strong&gt; Direct P2P video and voice calls work with minimal latency out of the box when Tor routing is off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fail-Closed SOCKS5 when enabled:&lt;/strong&gt; Turning Tor ON routes signaling and traffic through the embedded local SOCKS5 proxy with fail-closed behavior—if the Tor circuit isn't ready or drops, traffic will not silently leak over the clearnet.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. 11-Layer Anti-Forensic Local Storage
&lt;/h2&gt;

&lt;p&gt;Strong transport encryption means little if local device storage can be dumped trivially. NOdP2P defends data at rest on Android with an &lt;strong&gt;11-layer anti-forensic storage architecture&lt;/strong&gt;, including:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;SQLCipher AES-256 database encryption&lt;/strong&gt; for all local messages and metadata.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware-backed key sealing&lt;/strong&gt; via &lt;strong&gt;AndroidKeyStore / StrongBox HSM&lt;/strong&gt; so database keys are bound to device hardware.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;PRAGMA secure_delete = ON&lt;/code&gt;&lt;/strong&gt; to overwrite freed SQLite pages with zeros rather than leaving deleted records in slack space.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;FLAG_SECURE&lt;/code&gt;&lt;/strong&gt; on sensitive screens to block screenshots, screen recording, and OS app-switcher thumbnail previews.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud &amp;amp; USB D2D backup blocking&lt;/strong&gt; so encrypted app databases are excluded from Google Cloud backups and device-to-device USB transfers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;10-PIN auto-wipe protection&lt;/strong&gt; that irreversibly destroys local keys and data after 10 failed PIN attempts.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Try NOdP2P &amp;amp; Explore the Source
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Official Website &amp;amp; Android APK (v1.0.23):&lt;/strong&gt; &lt;a href="https://nodp2p.pages.dev/" rel="noopener noreferrer"&gt;https://nodp2p.pages.dev/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-platform Web PWA (iPhone / Mac / Windows):&lt;/strong&gt; &lt;a href="https://nodp2p.pages.dev/app/" rel="noopener noreferrer"&gt;https://nodp2p.pages.dev/app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository &amp;amp; Release:&lt;/strong&gt; &lt;a href="https://github.com/androidkantabria-cmd/NOdP2P" rel="noopener noreferrer"&gt;https://github.com/androidkantabria-cmd/NOdP2P&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>privacy</category>
      <category>android</category>
      <category>security</category>
      <category>webcrypto</category>
    </item>
  </channel>
</rss>
