Skip to main content

Encrypt codes and files into picture

Project description


codimage is a Python library that encrypts single / multiple text-transferable files, i.e. Python scripts, batch scripts and configuration files, into a single picture and protect your information with password.


File encryption

Given a single / multiple files, a PNG image (your own selfies will also work!), and a user defined password, codimage will generate a PNG image that is nearly identical to the original one with all contents from the files to be encrypted into the pixels.

File decryption

To decrypt and reverse back files from the code embedded image, user needs to use the original image and the correct password.


pip install codimage


Single file encryption

from codimage import codimage

codimage = codimage.Codimage()

Multiple files encryption

assume files to be encrypted are in D:\codes folder


Image decryption

assume files are to be exported to D:\export-codes


After decryption, a folder named 'codimage-datetime' will be created in export-codes with all files inside


The software is under 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.

Files for codimage, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size codimage-0.0.2-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size codimage-0.0.2.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page