This React application allows users to encrypt and decrypt text using a simple character-shifting algorithm based on a secret key. It features an interactive UI built with Material UI.
- Encrypt text using a secret key
- Decrypt the encrypted text back to its original form
- User-friendly interface with Material UI components
- Node.js & npm installed
- CRA for development (Optional)
- Clone the repository:
git clone https://github.com/your-repo/encryption-app.git cd encryption-app - Install dependencies:
npm install
- Start the development server:
npm start
- Enter the text you want to encrypt in the
Input Textfield. - Provide a
Secret Key. - Click
Encryptto get the encrypted text. - Click
Decryptto restore the original text.
Input Text: hello
Secret Key: key
Encrypted Text: yvccf (example result, actual output depends on key)
Decrypted Text: hello
Run unit tests using Jest:
npm testDeploying to Appetize You can try the App here: Appetize.io
This project is open-source and available under the MIT License.