Skip to content

Latest commit

 

History

History
115 lines (87 loc) · 4.96 KB

README.md

File metadata and controls

115 lines (87 loc) · 4.96 KB

Encryption and Decryption with JavaScript

encryption decryption

The Data Encryption and Decryption Tool is a web application developed using JavaScript that provides secure encryption and decryption functionalities using the AES-CBC (Advanced Encryption Standard - Cipher Block Chaining) algorithm. It supports localization using i18next for multi-language support, enhancing usability across different regions. The application ensures data security by implementing PBKDF2 (Password-Based Key Derivation Function 2) for key derivation and AES-CBC for symmetric encryption.

Table of Contents

Overview

The Data Encryption and Decryption Tool is a web application developed using JavaScript that provides secure encryption and decryption functionalities using the AES-CBC (Advanced Encryption Standard - Cipher Block Chaining) algorithm. It supports localization using i18next for multi-language support, enhancing usability across different regions. The application ensures data security by implementing PBKDF2 (Password-Based Key Derivation Function 2) for key derivation and AES-CBC for symmetric encryption.

Features

  • Encryption and Decryption: Enables users to encrypt plain text messages and decrypt encrypted messages securely using AES-CBC.
  • Secure Key Management: Implements PBKDF2 for deriving encryption keys from passwords, enhancing security against brute-force attacks.
  • Localization: Supports multiple languages through i18next, allowing users to interact with the application in their preferred language.
  • Responsive Design: Built with a responsive design using HTML5, CSS3 (SCSS), and JavaScript, ensuring compatibility across desktop and mobile devices.
  • User Interface: Provides an intuitive interface with interactive elements such as sliders for dark/light mode selection and language dropdown for localization.
  • Integration: Designed to integrate seamlessly into existing web applications, demonstrating interoperability and modularity.

Folder Structure

project/
├── index.html
├── css/
│   ├── style.scss
│   ├── style.css.map
│   ├── style.css
├── js/
│   ├── decrypt.js
│   ├── encrypt.js
│   ├── eventListeners.js
│   ├── keyGen.js
│   ├── localization.js
│   ├── main.js
├── locales/
│   ├── ab.json
│   ├── de.json
│   ├── en.json
│   ├── fr.json
│   ├── it.json
│   ├── ja.json
│   ├── ko.json
│   ├── nl.json
│   ├── pl.json
│   ├── pt.json
│   ├── ru.json
│   ├── tr.json
│   ├── zc.json
│   ├── zt.json
├── images/
│   ├── favicon.ico
├── README.md
├── LICENSE

Installation

  1. Clone the Repository:

    git clone https://github.com/vrm-piyush/Encryption-Decryption.git
  2. Navigate into the Project Directory:

    cd Encryption-Decryption
  3. Install Dependencies:

    npm install -g i18next
  4. Run the Project:

    Open the index.html file in the browser or use a live server to run the project.

Usage

  • Starting the Application: Open the index.html file in your preferred web browser.
  • Encrypting Data: Enter the plain text you wish to encrypt in the input box, select your desired language from the dropdown, and click the "Encrypt" button. The encrypted text will be displayed in the output box.
  • Decrypting Data: Enter the encrypted text in the input box, select your desired language from the dropdown, and click the "Decrypt" button. The decrypted plain text will be displayed in the output box.
  • Language Selection: Use the language dropdown to select your preferred language. The interface will update to reflect the selected language.
  • Dark/Light Mode: Use the slider to toggle between dark and light modes. The interface will update to reflect the selected mode.

Technologies Used

  • Frontend: HTML5, CSS3 (SCSS), JavaScript (ES6+)
  • Encryption: AES-CBC, PBKDF2
  • Localization: i18next
  • Version Control: Git, GitHub Actions for CI/CD

Contributing

Contributions to the project are welcome! Guidelines for contributing code, reporting issues, and submitting pull requests are outlined in the CONTRIBUTING.md file. The project follows best practices for collaboration and code quality, ensuring a smooth contribution process.

License

This project is licensed under the MIT License, allowing for free use, modification, and distribution, ensuring openness and transparency for developers and organizations.