Skip to content

fabriziosalmi/ai-chatbot-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AI Chatbot Encrypter/Decrypter

This project provides a simple web-based tool for encrypting and decrypting messages using hexadecimal format to facilitate secure communication with an AI chatbot :)

Features

  • Encode to Hexadecimal: Convert your plain text into a hexadecimal format for secure transmission.
  • Decode from Hexadecimal: Convert hexadecimal messages back into their original plain text.
  • User-Friendly Interface: Simple and intuitive interface using Bootstrap for styling.
  • Instructions and Prompts: Clear instructions on how to use the tool for secure communication.

How to Use

  1. Open the Web Page: Visit the published GitHub page for this project.
  2. Enter Your Message: Type your text or hexadecimal message in the "Text/Hex" area.
  3. Encode Your Message:
    • Click the "Encode" button to convert your text into a hexadecimal format.
  4. Send the Encrypted Message:
    • Copy the encrypted message and send it to the AI chatbot.
    • For the first message, include the instructions provided in the "Prompt Box".
  5. Receive and Decode Messages:
    • Copy the encrypted message from the AI chatbot.
    • Paste it into the "Text/Hex" area and click "Decode" to read the original message.

Code Explanation

  • HTML Structure: Defines the overall structure and layout of the page.
  • CSS Styling: Custom styles to enhance the visual presentation.
  • JavaScript Functions:
    • encodeToHex(): Converts plain text to hexadecimal.
    • decodeFromHex(): Converts hexadecimal back to plain text.

Dependencies

  • Bootstrap 4.5.2: For responsive design and styling.
  • jQuery 3.5.1: For JavaScript functionalities.
  • Popper.js 2.9.9: Required for some Bootstrap components.

Setup

To run this project locally:

  1. Clone the repository:
    git clone https://github.com/fabriziosalmi/ai-chatbot-encryption.git
  2. Open index.html in your web browser.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any questions or suggestions, send a PR or open an issue.

About

Encrypt your AI powered chatbot sessions

Resources

License

Stars

Watchers

Forks