This is a simple web application that allows users to input text, submit it, and see the encrypted/decrypted value using the AES-256-CBC algorithm. Additionally, it provides functionality to generate RSA key pairs (public and private keys).
- Encrypt/Decrypt text using AES-256-CBC.
- Display the encrypted/decrypted text on the web page.
- Generate RSA key pairs (public and private keys).
- Display the generated RSA keys on the web page.
- Responsive design with basic styling.
- Node.js
- npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/Esom/gmc-final-project.git
-
Install the dependencies:
npm install
-
Start the server:
node server.js
-
Open your browser and navigate to
http://localhost:3000
.
- Enter the text you want to encrypt in the input field and click the "Encrypt" button. The encrypted text will be displayed below.
- Enter the encrypted text you want to decrypt in the input field and click the "Decrypt" button. The decrypted text will be displayed below.
- Select the desired key length from the dropdown menu (1024, 2048, or 4096).
- Click the "Generate key pair" button. The generated RSA private and public keys will be displayed in the respective text areas.