Built a lightweight, 100% open-source Android messenger (pure C++20 + OpenGL ES 2.0, GPLv3) for ephemeral, short-text whispers (up to 44 chars) where nothing is ever written to flash storage.

Highlights on Android:

  • Zero permissions & zero flash storage: Requests no storage, contacts, or account permissions. Plaintext never crosses JNI into Java strings - everything stays in a 4 KB mlock() RAM buffer (PR_SET_DUMPABLE(0), MADV_DONTDUMP) for 20 seconds and then wipes from RAM, GPU memory, and BitTorrent DHT (BEP-44).
  • Built-in C++ OpenGL RAM keyboard: System keyboards like Gboard/SwiftKey and the Android clipboard never see your messages. Pasting a 24-char room key on the GATE screen performs a one-way ingest into locked RAM and immediately clears the system clipboard.
  • Screen & snatch protection: Blocks Android screenshots, screen recording, recent-apps previews, and invisible overlay spyware. Locking the screen, switching away, tapping [ WIPE ], or a >2.5G snatch jolt clears RAM and GPU video memory in 0.1 ms.
  • Solo ECHO TEST: No second device needed to verify connectivity - tap GENERATE KEY -> ENTER -> ECHO TEST to bounce an encrypted probe off a live BitTorrent DHT node and inspect latency.

APK & source (universal arm64-v8a / armeabi-v7a):

 

Sharing Null Messenger v1.0.0, a pure C++20 zero-dependency ephemeral messenger and C ABI library (GPLv3 + Section 7 Attribution & Brand Lock).

Key technical details from the codebase:

  • Zero external dependencies: Cryptography (Argon2id 32 MB, Ed25519, ChaCha20-Poly1305 RFC 8439), networking (BitTorrent BEP-44 DHT + 64 KB micro-node), and OpenGL ES 2.0 UI/RAM keyboard are implemented from scratch in C++20.
  • No flash writes: Secrets and 44-char whispers stay inside a 4 KB mlock() buffer (PR_SET_DUMPABLE(0), MADV_DONTDUMP) for 20 seconds before being zeroed in RAM/GPU memory and overwritten in DHT.
  • 60s room teleportation: Ed25519Bep44Worker derives new BEP-44 DHT coordinates every 60 seconds behind a decoy-traffic umbrella, with fixed 996-byte padded payloads.
  • libnull_agent_bridge (C ABI): Included for Linux/macOS (core/include/c_api/null_agent_bridge.h). Compiles into .so/.dylib in a single c++ -std=c++20 -O3 -shared -fPIC call and exposes generate_room_key, join_room, send_whisper, and poll_whisper for zero-pip Python ctypes integrations or local AI agent swarms without cloud tokens or open ports.
  • Verifiable locally: Ships with a standalone C++20 verification suite (null_messenger_verify) and universal Android APK build script (arm64-v8a & armeabi-v7a).

Repos:

 

Even privacy-focused messengers (Signal, SimpleX, Session, Briar, Threema) still write message history to flash storage databases and trust third-party system keyboards (Gboard, SwiftKey) and the OS clipboard before encryption happens.

Null Messenger (100% FOSS, GPLv3) takes a strict ephemeral approach:

  1. 0 storage & 20s DHT overwrite: Zero storage permissions, zero files, zero databases. Up to 6-10 live messages (up to 44 chars) sit strictly in 4 KB mlock() RAM for 20 seconds, burn away, get zeroed in RAM and GPU video memory, and are actively overwritten in BitTorrent DHT (BEP-44).
  2. 0 servers & 0 direct IP leaks: Encrypted 1000-byte frames route through decentralized BitTorrent DHT via a built-in 64 KB micro-node ($0.00 server cost). Peers meet using a 24-char room key (XXXXXX-XXXXXX-XXXXXX-XXXXXX with a 4-char typo MAC) without phone numbers, usernames, or direct peer-to-peer connections, while room coordinates teleport every 60s under decoy traffic.
  3. 0 keyboard, clipboard & screen leaks: Uses a built-in C++ OpenGL ES 2.0 RAM keyboard, blocks OS screenshots/recording/recent-apps previews/overlay spyware, and performs a one-way key paste on GATE that immediately wipes the system clipboard.
  4. 0.1 ms snatch wipe: Minimizing, locking the screen, tapping [ WIPE ]/[ EXIT ], or a >2.5G snatch jolt wipes locked RAM and GPU video memory in 0.1 ms.

Source & APK:

 

I built Null Messenger (GPLv3) around a simple premise: you cannot leak or recover messages that never touch flash storage.

Instead of SQLite databases, relay servers, or OS keyboards, the entire cryptographic, networking, and OpenGL ES 2.0 UI stack is written in pure C++20 with zero external dependencies:

  • Kernel-locked RAM (SecureMemoryGuard): Up to 6-10 live whispers (max 44 chars) live inside a page-aligned 4 KB mlock() buffer (PR_SET_DUMPABLE(0), MADV_DONTDUMP). Plaintext never crosses JNI into Java strings.
  • Crypto & 60s DHT teleportation: Argon2id (32 MB mixing matrix, zeroed right after derivation) derives a 256-bit master key and Ed25519 seed. Every 60 seconds, Ed25519Bep44Worker teleports the room to new BitTorrent BEP-44 DHT coordinates (SHA-1 of that minute's derived Ed25519 public key) under a decoy-traffic umbrella. Packets use stateless per-packet ChaCha20-Poly1305 (RFC 8439) padded with noise to a fixed 996-byte payload (1000-byte bencoded value).
  • 20s burn & active overwrite: Messages burn for 20 seconds, zero RAM and GPU memory, and get actively overwritten in the DHT swarm.
  • Built-in OpenGL RAM keyboard & 0.1ms wipe: Renders its own C++ OpenGL ES 2.0 keyboard so Gboard/SwiftKey and the system clipboard never see what you type. Minimizing, screen lock, [ WIPE ], or a >2.5G snatch jolt zeroes RAM and GPU memory in 0.1 ms.
  • C ABI agent bridge (libnull_agent_bridge): Builds a .so/.dylib in one c++ -std=c++20 -O3 -shared -fPIC command (no CMake) so local Python scripts (ctypes, zero pip deps) can join the same 27-char rooms without cloud APIs or open ports.

Mirrors & source: