Giter Club home page Giter Club logo

maruadersmapai's Introduction

MaraudersMapAI: Mischief Managed

"I solemnly swear that I am up to no good."

Welcome to the hidden chambers of the Enigmatic Codex, where the art of concealing and revealing secrets mimics the mysterious charm of the Marauder's Map. This repository holds the power to encrypt messages within images, revealing them only to those who utter the right incantations.

Overview

Discover the tools to encrypt your most confidential messages (mischief_managed.py) and unveil secrets hidden within plain sight (marauders_map.py). Like the Marauder's Map, these scripts guard your secrets and reveal them only to the worthy.

Features

  • Mischief Managed (mischief_managed.py): Encrypt and conceal messages within images, akin to hiding secret rooms within a castle.
  • Marauder's Map (marauders_map.py): Reveal the hidden messages, similar to uncovering hidden footsteps in the corridors of Hogwarts.

Integration Guide

Preparing Your Secrets

  1. Prompt Preparation: Utilize prompt.py to input the information you wish to encrypt. Edit user_input within this file:

    user_input = ''' 
    Enter information to encrypt here. This will be the prompt for your AI system. 
    It can also be used to store other information, such as a password or a secret message or entire codebase.
    '''
  2. Clone or Copy Necessary Scripts: Incorporate mischief_managed.py, marauders_map.py, and prompt.py into your project.

  3. Setup the Prompt Folder: Ensure a folder named Prompt exists in your project, as mischief_managed.py uses an image named output.png from this folder.

  4. Environment Configuration: Include a .env file in your project's root with the SECRET_KEY.

  5. Install Dependencies: Use requirements.txt to install the necessary Python packages:

    pip install -r requirements.txt

Using in Your Chatbot

  1. Encrypt and Hide Prompts:

    • In your chatbot script, import and use mischief_managed to encrypt and hide the contents of user_input from prompt.py.
    • Example:
      from mischief_managed import encrypt_message
      import prompt
      
      encrypt_message(prompt.user_input)
  2. Reveal and Decrypt Prompts:

    • Use up_to_no_good from marauders_map to decrypt and retrieve the hidden prompt.
    • Example:
      from marauders_map import up_for_no_good
      
      decrypted_prompt = up_to_no_good()
      # Use decrypted_prompt in your chatbot

Notes for Usage

  • This setup ensures your chatbot can securely manage prompts or sensitive information, echoing the discreet nature of the Marauder's Map.
  • "Mischief Managed" clears all traces, maintaining the secrecy of your data.

Epilogue

"As the corridors of Hogwarts hold secrets behind every portrait, your project now holds encrypted mysteries, waiting to be revealed only to those who know the magic words."

"Mischief Managed."

maruadersmapai's People

Contributors

ecto-1a avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

cc452

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.