Skip to main content

A steganographic library to encrypt files and text in PNG images

Project description

EncPNG

A steganographic library to encrypt files and text in PNG images using CSPRNG random generated pixel colors, shuffled charset for pybase64, and AES-256 with tag (anti-tamper support, and with Intel-NI support on Intel processors) to encrypt or decrypt data (full UTF-8 support).

USING LIBRARY ENCPNG

from encpng import EncPNG
enc = EncPNG("Ko n ni chi ka!", "Password ][!")
# Image passed as bytes
img = enc.encrypt()
result = enc.decrypt(img)
from encpng import EncPNG
enc = EncPNG("Ko n ni chi ka!", "Password ][!", "/path/to/out")
enc.encrypt()
enc.decrypt("08a30930-ecdf-4f6a-9978-c274093d63e1.png", "Password ][!", "/path/to/file")

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

encpng-0.2a0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

encpng-0.2a0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file encpng-0.2a0.tar.gz.

File metadata

  • Download URL: encpng-0.2a0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for encpng-0.2a0.tar.gz
Algorithm Hash digest
SHA256 8b976b36fb42aa36db7b0f010b8aa239a26fb089833ee6089b13f9f32ecab83b
MD5 2b269d95c5b000888d32d1f0ab483c11
BLAKE2b-256 723066af2c1c4009913ac4aa3767aa1c46c507d523ba68afa1471359f1a8fffd

See more details on using hashes here.

File details

Details for the file encpng-0.2a0-py3-none-any.whl.

File metadata

  • Download URL: encpng-0.2a0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for encpng-0.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 235f105b18c82a352ed7895f830ccab8360144b13324261ae438124614c5c06f
MD5 c09373b51f2895b408a94d6b88228354
BLAKE2b-256 aa746e32eca0f66ad991e0a23198ff2d3edaa3085f84a4cc62398c831babe685

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