Skip to main content

Library for creating steganographic images with encoded color pixels.

Project description

GBKomiPic

GBKomiPic is a simple and lightweight Python library for steganography, allowing you to hide text within RGB images. It enhances your data privacy by using XOR encryption and embedding the data into image pixels.

Features

  • Text-to-Image Embedding: Hide any text message within image files.
  • Data Encryption: Utilizes XOR encryption for enhanced security of hidden data.
  • Ease of Use: Simple create and read functions for straightforward data embedding and extraction.
  • Minimal Dependencies: Primarily relies on the Pillow library for image processing.

Installation

To install this library, you can either include its files in your project or install it via pip (if officially released).

Usage

Embedding Text (Create)

from gbkomipic import create

# The secret text to hide
secret_text = "This is a confidential message."
# Encryption key (can be any string)
encryption_key = "mysecretkey"
# Output image filename
output_image = "output_image.png"

# Call the create function to generate an image with the hidden text
create(secret_text, output_image, encryption_key)
print(f"Text successfully hidden in image '{output_image}'.")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gbkomipic-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gbkomipic-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file gbkomipic-0.1.0.tar.gz.

File metadata

  • Download URL: gbkomipic-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for gbkomipic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46bc8997cfe26adfd021f1c0ab0ae467760c8442402ecdc877ec43065feff263
MD5 c06fc4c00f7a139a8c374b877cee27ef
BLAKE2b-256 0489e74d8d967851e2f964bd7e30ff050cff5cbed50814a8bc83aa9ffc06e89b

See more details on using hashes here.

File details

Details for the file gbkomipic-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gbkomipic-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for gbkomipic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4597b83060838937cea59d8dd9d5e8d7a36620d79cd95f39f6b443718efff7ce
MD5 3ea698468d32d6bba1b86f8561405e8f
BLAKE2b-256 4a1a741e2551f57e9b17c73daaa0339f404f536b69a291621a1e60ac3497e7b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page