ReactJS, NodeJS, ExpressJS, MongoDB, 3DES Encryption
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.
MERN Chat App 3DES Encryption application requires Node.js to run.
$ git clone https://github.com/catalyn98/MERN-Chat-App-3DES-Encryption.git
To set up your project, follow these steps:
- 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.
- Create a MongoDB database and obtain the connection string provided by MongoDB for connecting to your database.
- Create a Firebase project and obtain the Firebase connection string.
Start the server:
$ npm run build
$ npm start
Start the frontend:
$ cd frontend
$ npm run dev
Register screen | Login Screen | Start screen |
---|---|---|
![]() |
![]() |
![]() |
Conversation screen | ||
![]() |
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.