A web application for encrypting and decrypting text using a user-provided key. This is a web app built as the final project for Harvard's CS50x course. The app allows users to encrypt and decrypt messages with any numerical key. The encryption algorithm uses the ASCII table to shift the character codes, and the decryption algorithm reverses the process. Check out the demo here.
You can access the live version of the Encryptor web application here.
- Frontend: React, Tailwind
- Backend: Express.js
- The user can input a plain text and a key number
- The app will encrypt the plain text by adding the key number to every character's ASCII code, excluding spaces.
- The user can then decrypt the encrypted text to retrieve the original text by subtracting the key number from the encrypted text's character's ASCII code.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- NodeJS
- npm
- Clone the repository
- Go to the view directory of the project
- Run
npm i
to install the dependencies - Go to the server directory and run
npm i
again to install the server dependencies - In the view directory, run
npm run dev
to start the frontend - In the server directory, run
npm start
to start the backend - Visit http://127.0.0.1:5173/ to access the app
This app is a simple demonstration of encryption and decryption using a user-provided key. It is not meant to be used for secure data encryption.
Mahdi Ettehadnejad