CHITCHAT- Chatting Application

Raj Mehta
2 min readJan 9, 2021

Back in late 2019 there were lot of rumors about data leaks in a lot of social media platforms like Facebook, Whatsapp, Instagram etc…..this made me think what if I have my own version of whatsapp and thats what exactly this app is about, my own chatting application !!

ChitChat is developed in Java programming language with Android studio as IDE. Since it was just a small fun project with limited number of users it made us more sense to use service like firebase for data encryption, authentication and storing data like profile pics etc.

The chat messages are end-to-end encrypted. The working is something like this: 1) There is a random hexadecimal string generated for each chat convesration (Eg: qxter1234ncfywd3eqw1b is random token generated for conversation between user A and B) now further this chat may have sub-tokens for each chat message. This sub-token contains important information like the content i.e the message/chat itself, date and time. All these hexadecimal tokens are similar to digest tokens. In simple words they are one-way hashed tokens. Similarly since I didn’t want users to view full-sized profile pic without permission hence similar token also save information about image location.

Download/View Code : Click Here

NOTE: Using code/images for commercial purposes without permission may subject to copyright.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response