Secure Chat with SocketIO, NodeJS and AES Encryption

This application leverages SocketIO, NodeJS and AES Encryption in order to provide a secure chatting experience. The idea is to encrypt the chat messages before the message is sent over the wire. The application allows people to invite others to a chat room by providing the inviter and invitees’ email addresses; the application creates a unique link for a chat room and generates the chat key and emails it to the participants. It is up to the participants to visit the URL pointing to the chat room and enter the provided chat key. One feature of security here is that the chat key is never broadcasted across the wire since it’s copy pasted by the participants to send and receive encrypted messages.

The application source code is located at – https://github.com/saichaitanya88/secure_chat/

Try it out for yourself at https://sai-secure-chat.herokuapp.com

 

secure chat app flow
Secure Chat – Demo

If you wish to fork the GitHub code, one thing to note is that the NodeJS application requires the Gmail SMTP email and password to be provided when launched. This can be done so like this –

smtp_email=email@gmail.com smtp_pass=password supervisor app.js

The forked code can be deployed in seconds to Heroku by integrating with GitHub!

Live Demo – sai-secure-chat.herokuapp.com
Source Code – https://github.com/saichaitanya88/secure_chat/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s