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
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 –
email@example.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/