Skip to main content

A Python package to hide text in fake image files

Project description

PyCryptedImages

PyCryptedImages is a Python package designed to hide text in fake image files. It allows you to encode text into a file that appears to be an image, making it useful for various applications, such as steganography or protecting sensitive data.

Features

  • Encode text into a fake image file (JPEG format).
  • User-friendly function for specifying the file path and name.
  • Compatible with Windows and other operating systems.

Installation

You can install PyCryptedImages using pip:

pip install PyCryptedImages

Or install directly from GitHub:

pip install git+https://github.com/R-D-R248/PyCryptedImages.git

Usage

Here’s how you can use PyCryptedImages to encode text into a fake image:

import PyCryptedImages

# Generate a fake image path
pycrypt_image = PyCryptedImages.Encode(path="C:/Users/YourUser/Desktop", name="hidden_message")

# Save text into the generated fake image path
PyCryptedImages.Save(text="Hello, world!", pycrypt_image=pycrypt_image)

# Directly encode and save text into a fake image
PyCryptedImages.EncodeFile(text="Hello, world!", path="C:/Users/YourUser/Desktop", name="hidden_message")

Example Output

This will create a file named hidden_message.jpg on your Desktop, but it will actually contain the text "Hello, world!".

Decode Function

To decode the hidden text from a fake image file, use the following code:

import PyCryptedImages

# Decode text from the fake image
text = PyCryptedImages.Decode(path="C:/Users/YourUser/Desktop", name="hidden_message")
print("Decoded Text:", text)

Contributing

Feel free to submit issues or contribute by making pull requests on GitHub.

License

This project is licensed under the MIT License.

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

pycryptedimages-1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

PyCryptedImages-1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pycryptedimages-1.1.tar.gz.

File metadata

  • Download URL: pycryptedimages-1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pycryptedimages-1.1.tar.gz
Algorithm Hash digest
SHA256 fa66fcc345327038ebea362c207cadbb5923254bc86d071fe9116e18e21f931a
MD5 8f4f96f63b2e373b6779a82de0565cc6
BLAKE2b-256 71399dc9f6d6ac5bd93cccfd6079d2a7685b13173db974a4d281d22b7be01791

See more details on using hashes here.

File details

Details for the file PyCryptedImages-1.1-py3-none-any.whl.

File metadata

  • Download URL: PyCryptedImages-1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for PyCryptedImages-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98b3298fadb156a6492fd118585c33c5204f135cd0704e3a37b9934565741a5b
MD5 7419e940c05cf640adf4514c13072875
BLAKE2b-256 4770d876d54a74983762d2c54fb6f7f2c5cae62d4f572884dc2d68357772d36b

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