Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPCode

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.

Example image generated by JPCode

How it worked

JPCode was a small Java Swing desktop application. You could write a message or select a .txt file, and the program would:

  1. Convert the characters into numeric values.
  2. Store three values in each pixel using its red, green, and blue channels.
  3. Add a marker after the encoded message.
  4. Fill the rest of the 200 x 200 image with random colors.
  5. 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.

Running the project

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.

About

A visual text-encoding experiment I built in Java at sixteen, inspired by sci-fi robots communicating through images.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages