codimage
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.
Overview
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.
Installation
pip install codimage
Usage
Single file encryption
from codimage import codimage
codimage = codimage.Codimage()
codimage.encrypt(r"D:\dummy\dummy.png",
r"D:\codes\test.py",
r"D:\dummy\code.png",
"P@ssw0rd1")
Multiple files encryption
assume files to be encrypted are in D:\codes folder
codimage.encrypt(r"D:\dummy\dummy.png",
r"D:\codes",
r"D:\dummy\code.png",
"P@ssw0rd1")
Image decryption
assume files are to be exported to D:\export-codes
codimage.decrypt(r"D:\dummy\dummy.png",
r"D:\dummy\code.png",
r"D:\export-codes",
"P@ssw0rd1")
After decryption, a folder named 'codimage-datetime' will be created in export-codes with all files inside
License
The software is under MIT License
Metadata
Release files for codimage 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codimage-0.0.2.tar.gz | 5.2 kB | Without provenance | Details for codimage-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codimage-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for codimage-0.0.2-py3-none-any.whl |
Total release size: 10.1 kB
Release files / codimage-0.0.2.tar.gz
| Download URL | codimage-0.0.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58a4a62f07dda05908534e69269de0cca7ff78f3ef12ee744f6c89cc97ad22b1
|
|
BLAKE2b-256 checksum How to use checksums |
24720d24458e875e281517780ebd7ab606c68959f3af50ff2d9931e5780704ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6
|
Release files / codimage-0.0.2-py3-none-any.whl
| Download URL | codimage-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
892d9dd3e1bc92a433adf6f6356c5823d9bb51e4d3167f7c71fc8ebb697cfb90
|
|
BLAKE2b-256 checksum How to use checksums |
0483b44b0c5023a00753ccaac6ad4601970c7c98e144b1df96b8490a613a71df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6
|
Security for codimage 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.