NaiHe – Lightweight E2E encrypted chat, no accounts, no central server (Rust + Tauri)
⚓ Rust 📅 2026-03-21 👤 surdeus 👁️ 2Hey all. I wrote a small encrypted chat tool called NaiHe with Rust + Tauri. Designed for people in censored regions who need to talk without being watched.
The idea is simple — two people share a room name and a key, messages get encrypted client-side with ChaCha20-Poly1305 (Argon2id for KDF), and relayed through any MQTT broker. Broker sees nothing but ciphertext.
There's also a clipboard mode ("Cipher Pad") that lets you encrypt/decrypt text in your clipboard, so you can paste ciphertext into whatever app you already use — no need for the other person to install anything special.
Rust side handles all the crypto and MQTT transport. Frontend is React. The whole thing is one portable exe, around 5MB.
I'm releasing this anonymously and won't be maintaining it going forward. It's under the Unlicense — public domain, do whatever you want with it. If anyone wants to fork it, audit the crypto, add Linux/macOS builds, or just tear it apart for learning purposes, go for it.
Known limitations are in the README — no forward secrecy, no traffic obfuscation, no key exchange protocol, Windows only for now. I tried to be honest about what it can and can't do.
1 post - 1 participant
🏷️ Rust_feed