Back in 2022, I got the itch (no, not that itch)
An itch to build a cipher. A custom cipher that I could call my own.
Why? IDK. Probably too much spy shit on TV. ๐
So I scratched the itch.
I came up with a system where you could:
- Scramble the words from a quote
- Insert a hidden message between the chaos
- Translate it to another language for good measure
- Obfuscate the hell out of it with random symbols and caps
- And then embed the whole thing into an image
The original version was written in PHP.
It was fun, weird, and deeply satisfying.
Now, I’ve ported the entire thing to Python – and upgraded it, too.
The Cipher Got Smarter
The new version isn’t just a rewrite – it’s an evolution of an idea.
Here’s what it does now:
1. Encrypts Messages with Quote-Based Scrambling
You feed it a quote and a secret message.
It scrambles each word in the quote, sprinkles in your hidden message between the chaos, and obfuscates everything with symbols and random caps.
You get a blob of beautiful nonsense like this:
RlMoE&?*lmpuSI)OrOold}?niTs%=EemtA?% CuCtSrEnETo~=WIIcIGsDnAP{=oelTi$%laeaNeN+[}fDes^} teRA#lsUIQ^+iQmAU<+>FOsMliL*.^egTIITSSa$SITS&TTeam%/yin?LsPMiu&EuuTlbEsvMI*$RuaiMs$?!XE>(pctEalAr#&Di%*CUNN??its,emat{:@RTpoa>*[tTUElAVPu@UASCl_:_LuNlA>!&EiuoSmd=[tARoP<%MUEPST=@EAnEna+,RMrTuu~at;bHni`%TA~+;rotPem`-ENnAEa:@mOdMOCo>#/AEARPRTH=(uaCSL/NoN^taSiMt!@+RACu!UtSCuL{VaiTE@
Only someone with the original quote can decode it.
2. Decrypts Messages Cleanly
Give the tool the cipher and the original quote, and it’ll extract your secret programmatically.
3. Hides Encrypted Messages in Images
You can now embed the cipher into a PNG image file using steganography.
The image will look completely normal. But hiding inside the pixel data: your secret message.
Even better – it warns you if you try to use lossy formats like JPEG or WebP (which could corrupt your data).
Smart defaults so you don’t shoot yourself in the foot.
4. Command-Line Interface Included
Encrypt, decrypt, embed, extract, and debug right from within your terminal.
๐ง How It Works (Quick Version)
- Your secret is hidden inside a scrambled quote
- Each word in the quote gets it’s spelling randomized
- Letters from your secret are inserted after each word
- Optional symbols and caps camouflage the result
- Then it all gets packed into an image (if you want)
Double-layered protection:
You need the original quote and the image to crack it.
Grab the Python Code
I’m giving it away. Full source, no paywall, no signup.
๐ Download the full Python script here (GitHub link or Gist)
Put it in a folder. Run it. Play around. Break it. Improve it.
You’ll need Python 3 and Pillow if you want to use the image embedding features:
pip install Pillow
Once you’ve got it running, just launch:
python3 stego_cipher.py
And follow the menu.
๐ Demo Mode Included
Don’t want to read docs? Lame, but OK ๐
Just choose “Example/Demo” from the menu, and it’ll walk you through how it works using "The quick brown foxโฆ" as a sample.
๐งช Use Cases
- Share hidden notes with friends
- Burn secrets into memes
- Teach kids how encryption works
- Just mess around and feel like a hacker from 1998
Final Thought
This isn’t meant to be foolproof encryption.
It’s not AES. It’s not RSA. It’s not military-grade anything.
It’s a creative cipher system – for play, learning, or low-risk secret sharing.
It scratches the itch.
It’s weird.
And now, it’s yours.
๐ฌ @ me if you build on it, break it, or embed something wild.
Or just to say hi – in a meme image so I have to work for it ๐