GetScrambled 
Description
GetScrambled is a simple library that allows you to scramble a image. No key is needed to unscramble the image, because the key is stored in the image itself (steganography and least significant bit). The image is scrambled by shuffling blocks of pixels. The size of the blocks can be set by the user.
The library uses pillow for image manipulation.
Example
from getscrambled.encode import encode
from PIL import Image
# Encode
image = Image.open("tests/data/baboon.png")
scrambled_image = encode(image, block_size=16)
scrambled_image.save("tests/artifacts/baboon_scrambled.png")
# Decode
from getscrambled.decode import decode
decoded_image = decode(scrambled_image)
decoded_image.save("tests/artifacts/baboon_decoded.png")
Original and scrambled image
 
Installation
pip install getscrambled
Development and testing
git clone https://github.com/Starmania/getscrambled
cd getscrambled
poetry install
poetry run pytest
Disclaimer 
This library is not meant to be used for security purposes nor to encrypt data. It will just make harder to see the original image. You could check that I never use the word "encrypt" in this repository.
Todo
- More tests
Metadata
Release files for getscrambled 1.0.0
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 |
|---|---|---|---|---|
| getscrambled-1.0.0.tar.gz | 8.1 kB | Without provenance | Details for getscrambled-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| getscrambled-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for getscrambled-1.0.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / getscrambled-1.0.0.tar.gz
| Download URL | getscrambled-1.0.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61af6249df64736944b7e152f0af80182fd4adef6098d6fcb3c6738170fc7f4f
|
|
BLAKE2b-256 checksum How to use checksums |
af2eeb31d7b17b120e74e7540173371c4fdc97f54f5e25a421cd871214f30d9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.2 Linux/6.1.0-23-amd64
|
Release files / getscrambled-1.0.0-py3-none-any.whl
| Download URL | getscrambled-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3d784e3ab8ae8a63b8861fe30de0985e7d4b1988b6ce9df12b63e3a4f5648b0
|
|
BLAKE2b-256 checksum How to use checksums |
712238df6b954fe6fbe6147c289b5074bb125d409ca7b220a3fe9ee759ba592f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.2 Linux/6.1.0-23-amd64
|
Security for getscrambled 1.0.0
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.