JPCode is a visual encryption experiment I built in Java in my free time when I was sixteen.
At the time, I was reading books about encryption and had seen a movie or series where robots communicated through these cool moving images made of light. I remember thinking, "I can build that too."
The result was not quite a robot language. JPCode could turn text into a colorful, noise-like image and then decode that image back into the original text.
JPCode was a small Java Swing desktop application. You could write a message or select a .txt file, and the program would:
- Convert the characters into numeric values.
- Store three values in each pixel using its red, green, and blue channels.
- Add a marker after the encoded message.
- Fill the rest of the
200 x 200image with random colors. - Save the result as a PNG that JPCode could later read to recover the message.
Looking back, this is closer to a visual encoding or obfuscation scheme than secure encryption. It was never intended for real-world security. It was simply a fun project that let me explore an idea I was fascinated by and see whether I could make it work.
The project was originally built with Java 8 and Eclipse. Import it as an existing Eclipse project, create an Outputs directory in the project root, and run Main.java.
This repository contains the original project from 2018 and is preserved as an early programming experiment.
