Skip to content

Real-time chat application built with the MERN stack, incorporating Socket.io for live messaging, JWT for authentication, and 3DES encryption for security.

Notifications You must be signed in to change notification settings

catalyn98/MERN-Chat-App-3DES-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Chat App 3DES Encryption

ReactJS, NodeJS, ExpressJS, MongoDB, 3DES Encryption

Tech stack

MERN Chat App 3DES Encryption uses a number of open source projects to work properly:

  • ReactJS - a JavaScript library for building user interfaces.
  • NodeJS - is an open-source, server-side JavaScript runtime environment that allows you to run JavaScript code on the server.
  • ExpressJS - is a popular web application framework for Node.js. It provides a set of features and tools that simplify the process of building web applications and APIs.
  • MongoDB - a document-oriented, No-SQL database used to store the application data.

Installation

MERN Chat App 3DES Encryption application requires Node.js to run.

Clone the repositories

$ git clone https://github.com/catalyn98/MERN-Chat-App-3DES-Encryption.git

Set environment variables

To set up your project, follow these steps:

  1. Create a .env file in the following directories: the backend api folder, the frontend-user folder, and the frontend-admin folder, this file will store your environment variables.
  2. Create a MongoDB database and obtain the connection string provided by MongoDB for connecting to your database.
  3. Create a Firebase project and obtain the Firebase connection string.

Install the dependencies:

Start the server:

$ npm run build 
$ npm start 

Start the frontend:

$ cd frontend
$ npm run dev

Web application screenshots

Register screen Login Screen Start screen
Register Screen Login Screen Start Screen
Conversation screen
Conversation Screen

Triple Data Encryption Standard

3DES (Triple Data Encryption Standard) is a symmetric-key block cipher that enhances the original DES (Data Encryption Standard) by applying it three times to each data block. Developed to address the vulnerabilities of DES's 56-bit key, 3DES uses a key bundle containing three DES keys, each 56 bits long, resulting in an effective key length of 168 bits. The encryption process involves encrypting the plaintext with the first key, decrypting with the second, and encrypting again with the third (EDE mode). This triple-layer process increases security, making it more resistant to brute-force attacks compared to DES. Despite its enhanced security, 3DES is slower and considered less secure than modern algorithms like AES (Advanced Encryption Standard) due to its shorter effective key length and vulnerability to certain attacks. It is being phased out in favor of stronger, more efficient encryption methods.

About

Real-time chat application built with the MERN stack, incorporating Socket.io for live messaging, JWT for authentication, and 3DES encryption for security.

Topics

Resources

Stars

Watchers

Forks