We were running through old Java code and found an old encryption algorithm which we wanted to fix into a relatively secure one. It was originally based on backwards hexadecimal with a square rotation.

What it does

Now, it rearranges your data into a three dimensional cube (with the extra gaps filled in with random non-hex characters). Then, the cube is scrambled with a encryption key, similar to a rubik's cube.

How we built it

We used a Rubik's cube to visualize the data manipulation of three dimensional arrays. The code was written in Java.

Challenges we ran into

Three dimensional arrays proved to be difficult to visualize and manipulate.

Accomplishments that we're proud of

A functional, scale-able encryption program.

What we learned

Though it can be fun to create new encryption methods, preexisting data encryption such as AES-256 is extremely more secure.

What's next for Cube Encryption

Four-dimensional implementation with more advanced mutation algorithms.

Built With

Share this project: