privyx/privyx

GitHub: privyx/privyx

Stars: 0 | Forks: 0

![PRIVYX Banner](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/37ad863eda103525.jpg) *Building **PRIVYX** — The Next Era of Communication* ![Base Mainnet](https://img.shields.io/badge/Base_Mainnet-0052FF?style=for-the-badge&logo=coinbase&logoColor=white) ![Focus](https://img.shields.io/badge/Focus-Security-0a0a0a?style=for-the-badge&logo=shield&logoColor=00ff88) ![Open Source](https://img.shields.io/badge/Open_Source-Yes-00ff88?style=for-the-badge&logo=github&logoColor=white) ![GitHub App](https://img.shields.io/badge/GitHub_App-Bot-181717?style=for-the-badge&logo=github&logoColor=white) ![License](https://img.shields.io/badge/License-Apache_2.0-blue?style=for-the-badge) ## About PRIVYX **Privacy-first, end-to-end encrypted communication platform.** No compromises on security. No trade-offs on experience. Built for the **post-quantum era** — combining classical and lattice-based cryptography to protect against current and future threats, including harvest-now-decrypt-later attacks. ## Architecture ![Architecture](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/7ec0c66fa7103538.png) | Layer | Stack | Details | |-------|-------|---------| | Mobile Client | React Native 0.82 | Cross-platform iOS & Android, TurboModules, WalletConnect / AppKit Auth | | Backend Server | Node.js + Express + Socket.IO | REST API, real-time message relay, no plaintext storage | | Native Crypto | Rust (compiled to native) | X25519 ECDH, ML-KEM-768 KEM, AES-256-GCM, SHA-256 | | WebRTC / TURN | STUN/TURN Signaling | Peer-to-peer audio & video, NAT traversal, ICE via Socket.IO | Data flow: **Client > Rust Crypto > Socket.IO Relay > Backend > MongoDB** ## Cryptographic Protocol Hybrid post-quantum key exchange combining **X25519** (classical) with **ML-KEM-768** (NIST FIPS 203). If either algorithm is broken, the other still protects your data. | Algorithm | Type | Purpose | Status | |-----------|------|---------|--------| | X25519 | Classical ECDH | Key agreement | Current standard | | ML-KEM-768 | Post-Quantum KEM | Key encapsulation | NIST FIPS 203 | | AES-256-GCM | Symmetric AEAD | Message encryption | Quantum-resistant at 256-bit | | SHA-256 | Hash Function | Hybrid secret derivation | NIST standard | Protocol flow: Key Generation > Public Key Exchange > Hybrid Secret Derivation > AES-256-GCM Encryption > Relay & Decrypt ## Features - **Encrypted Messaging** — E2E encrypted 1:1 chat via X25519 + ML-KEM-768 hybrid key exchange with AES-256-GCM. Local-only storage via AsyncStorage. - **Secure Voice & Video Calls** — WebRTC peer-to-peer calls with STUN/TURN signaling and ICE candidate exchange via Socket.IO. - **Wallet-Based Authentication** — Ethereum wallet login via WalletConnect v2 / Reown AppKit. No phone or email required. - **Chat Request System** — Public keys attached to requests. Recipient approval required. Rate-limited to 10 pending requests. - **Ghost Mode** — True anonymity. No personal identifiers, no metadata collection. Cryptographic identity only. - **Vault Transfer** — Encrypted file sharing up to 5GB with client-side quantum-resistant encryption. ## Security - **Zero-Knowledge Server** — Backend acts as encrypted relay. No plaintext message storage. - **Zero-Log Policy** — No message content, metadata, or conversation logs stored server-side. - **Post-Quantum Protection** — ML-KEM-768 hybrid key exchange protects against quantum computing attacks. - **Local-First Storage** — Messages and keys stored locally using AsyncStorage. No central point of compromise. ## Tech Stack ![React Native](https://img.shields.io/badge/React_Native-61DAFB?style=flat-square&logo=react&logoColor=black) ![Rust](https://img.shields.io/badge/Rust-000000?style=flat-square&logo=rust&logoColor=white) ![Node.js](https://img.shields.io/badge/Node.js-339933?style=flat-square&logo=nodedotjs&logoColor=white) ![Socket.IO](https://img.shields.io/badge/Socket.IO-010101?style=flat-square&logo=socketdotio&logoColor=white) ![WebRTC](https://img.shields.io/badge/WebRTC-333333?style=flat-square&logo=webrtc&logoColor=white) ![WalletConnect](https://img.shields.io/badge/WalletConnect-3B99FC?style=flat-square&logo=walletconnect&logoColor=white) ![MongoDB](https://img.shields.io/badge/MongoDB-47A248?style=flat-square&logo=mongodb&logoColor=white)