/llm-for-steganography

University Project - Hiding secret messages in a news feed using an LLM.

Primary LanguagePython

steganography-with-llama

steganography-with-llama is a Python-based tool that utilizes a large language model (LLAMA) to perform steganography, the art of hiding information within other data, such as images or text. This project allows you to encode and decode secret messages within various media files using the power of advanced natural language processing.

Table of Contents

Features

  • LLAMA Integration: Harness the capabilities of the LLAMA language model for efficient and effective steganography.
  • Multiple Document Formats: Support for various document formats, including text files, PDFs, and more, for hiding and extracting secret messages.
  • User-Friendly: A straightforward command-line interface for easy encoding and decoding.
  • Customization: Options to configure encoding parameters and extraction settings.
  • Security: Implement strong encryption to protect your hidden messages.
  • Cross-Platform: Works on Windows, macOS, and Linux.

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/llama-steganography.git
cd llama-steganography

Install the required dependencies:

pip install -r requirements.txt

Download the LLAMA language model weights (if not included in the repository) and place them in the appropriate directory.

You're ready to start using LLAMA Steganography!

Usage

To encode a message within a media file:

python encode.py --input input_media_file.txt --output output_media_file.txt --message "Your secret message goes here"

To decode a hidden message from a media file:

python decode.py --input encoded_media_file.txt

For more advanced options and customization, consult the documentation or run the scripts with the --help flag.

Examples

Encoding a Message

Encoding Example

Decoding a Message

Decoding Example

Disclaimer: LLAMA Steganography is intended for educational and research purposes only. Use it responsibly and comply with all applicable laws and regulations when hiding or extracting information from media files.