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)

Update Log

  • 1.0: Initial Release
  • 1.1: Added Decode Function
  • 1.2: Fixed the Decode Function Error and added Update Log

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.2.tar.gz (3.1 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.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pycryptedimages-1.2.tar.gz
Algorithm Hash digest
SHA256 9c1f572bc74133c2d00717337fd83c072f6cfb46c02e342150820e5a1c2c825f
MD5 9eb177a5128c9672a6c8e3e382ee3061
BLAKE2b-256 500ea3af62e5e97dbf893d969afa84bd2ff3ddbbe10de3a7abaad2fd46f934e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyCryptedImages-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64ab90781d8979a456c3c803cae43a88f805bc78b580045877bd7723ce55e277
MD5 148e0d6cf8ff351bc7e8323ab7228b22
BLAKE2b-256 468129bd8b6b48a9f44501d2f919b48a33c34d6974079ef8c5f701b00d578d57

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