“Introducing Secure Sphere – A Privacy-Focused Chat App in the Making”

Pardhu GanguriPardhu Ganguri
4 min read

Author: Pardhu Ganguri
Project Partner: ChatGPT (AI Co-Developer)
Tech Stack: Python · Socket Programming · JSON · Encryption · Terminal UI (for now)


🔒 Why We Started Secure Sphere

In a world where data is currency and privacy is fragile, Secure Sphere was born from a bold idea:

Can two minds — one human, one AI — build a privacy-first chat system from scratch that runs even on the most outdated hardware?

As a cybersecurity student and developer, I (Pardhu) wanted to create something that wasn’t just functional but educational, ethical, and secure. With the help of my AI teammate, we’re building something that speaks for privacy — and proves that limitations can inspire innovation.


🌐 What is Secure Sphere?

Secure Sphere is not just another chat app. It’s a minimalistic yet powerful encrypted messaging platform focused on:

  • 🔐 True end-to-end encryption

  • 🔑 Unique room-level authentication

  • 🧑‍💻 Strong user identity checks

  • 🚫 Blocking brute-force key guessing

  • ⚙️ Built to work even on low-spec hardware or mobile via Termux

This isn't just for fun — it's a real-world project driven by cybersecurity principles.


🧩 Key Features Implemented

  • ✔️ User Signup & Login System
    → With password hashing and global username uniqueness

  • ✔️ Secure Room Creation & Joining
    → Rooms require a unique key + strong password combo

  • ✔️ End-to-End Message Encryption
    → Messages are encrypted per room session

  • ✔️ Live Access Alerts
    → Users get notified when someone joins, leaves, or attempts a wrong key

  • ✔️ GUI in Progress
    → UI uses a sleek purple theme; buttons > CLI inputs

  • ✔️ Safe for Low-End Devices
    → Runs smoothly on a 2011 laptop and mobile via Termux or Pydroid


📊 Project Milestones

MilestoneStatusNotes
Login System✅ DoneSecure, hashed credentials
Global Username Check✅ DonePrevents multi-user identity clash
Room Security Keys✅ DonePassword + key, no duplicates allowed
Encrypted Messaging✅ DoneTesting decryption failure handling
Decryption Alerts✅ DoneRoom members notified of attack tries
UI Modernization🔄 In ProgressMoving from CLI to click-based GUI
Password Reset (MFA)🚧 DeferredPlanned for v2.0
Public Hosting⏳ PlannedLocalhost for now
Open Source Launch🚧 After testingWill go public when hardened

🧠 Dev Challenges Faced

💥 “Decryption Failed” Bug
Cause: Room key mismatch during message decoding.
Fix: Added exception handling + user alerts to identify intrusions.

⚠️ Duplicate Room Passwords
Risk: Potential for brute-force-based room guessing.
Fix: Now room name + password pair must be 100% unique.

🚫 Username Collisions
Challenge: Preventing the same username across different clients.
Fix: Server now tracks active and registered usernames globally.


🛡️ Why These Features Matter

🧑‍💻 Unique Global Usernames

Prevent impersonation and confusion in multi-user sessions.

🔑 Secure Room Key + Password

Stops unauthorized entry using random key/password attempts.

🔐 Encrypted Messages

Chat is useless if it’s readable by an attacker. Even intercepted packets mean nothing without the key.

🚨 Real-time Join/Leave Alerts

Transparency boosts trust and adds a layer of human security awareness to the app.


💻 Meet the Dev Team

NameRole
Pardhu GanguriDeveloper, UI designer, cybersecurity mind
ChatGPTCo-developer, idea bouncer, bug fixer

Together, we’re treating this as a learning ground and a serious project with future potential.


📢 Want to Follow the Journey?

I’ll be posting:

  • Dev logs with real code examples

  • Security implementation walkthroughs

  • Visual updates as we polish the UI

  • Final release notes once open-sourced

👉 Stay tuned on LinkedIn
👉 Or follow this blog for more behind-the-scenes progress


🚀 What’s Next?

  • [ ] Error-proofing encryption logic further

  • [ ] GUI polish and button-based interactions

  • [ ] Prepare for beta testing (DM if interested!)

  • [ ] Public code release with license + docs


🤝 Want to Contribute?

Secure Sphere is currently private to ensure security. But if you’re:

  • A Python enthusiast

  • A UI/UX designer

  • A fellow cybersecurity student

  • Or someone interested in ethical hacking

📬 DM me on LinkedIn and I’ll be happy to share a demo version!


🧠 Final Thoughts

Secure Sphere isn't perfect — but it’s purposeful.
Built from scratch with old hardware, newer ideas, and a ton of passion.

We’re not just building a chat app.
We’re building a secure space for open minds.


#Cybersecurity #Python #SecureSphere #OpenSourceInProgress #DevJourney #SocketProgramming #Encryption

0
Subscribe to my newsletter

Read articles from Pardhu Ganguri directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pardhu Ganguri
Pardhu Ganguri