Skip to main content
gamedev.net
🔒 Locked

Classical Cipher Program?

Started by bam104 Mar 7, 2008 at 5:15 PM 12 replies 1.3k views
Original Post
bam104
bam104
Hi, I am designing a series of posters that display some very personal infomation. As such i want to code the infomation in some way. Since it's a typography project at uni i want the final outcome to look like words and sentences even if it is unreadable (so things like hexidecimal/binary are NOT suitable). I have quite alot of text, so actually hand coding it is very time consuming. I was hoping someone might know of a program or website that can automatically jumble up my thoughts into unreadable but recognisable text. Any ideas? Thanks.
xor
xor
ROT13

Type "web ROT13" into google to get an actual site that decodes/encodes.
bam104
bam104
xor is my hero.

Perfect!
SiCrane
SiCrane
Keep in mind that some people can read rot13; literally able to read it without needing it decoded. If your personal information really is that personal, you might want to go with another scheme.
gunning
gunning
Quote:
Original post by SiCrane
Keep in mind that some people can read rot13; literally able to read it without needing it decoded.
Wait, really?
....[size="1"]Brent Gunning
_Sigma
_Sigma
Quote:
Original post by think_different
Quote:
Original post by SiCrane
Keep in mind that some people can read rot13; literally able to read it without needing it decoded.
Wait, really?

Does this surprise you? Remember, people can speak/read Klingon...

@OP, why are you putting personal information on the poster?
SiCrane
SiCrane
You obviously haven't spent a lot of time on Usenet, have you?
brandonman
brandonman
Well, we're all programmers. Write up a simple file-reading program that reads it to a char, and then take each character and add a certain number to its ascii value, and, voiloa, encrypted text! Say, do a rot19 ;)
xor
xor
Quote:
Original post by brandonman
Well, we're all programmers. Write up a simple file-reading program that reads it to a char, and then take each character and add a certain number to its ascii value, and, voiloa, encrypted text! Say, do a rot19 ;)


Vigenère cipher
Online encode/decode
Xelen
Xelen
Quote:
Original post by xor
ROT13

Type "web ROT13" into google to get an actual site that decodes/encodes.


Haha I was thinking exactly that as I was reading the OP's post.

A note to the original poster. It doesn't matter what algorithm you use, if you have a single letter replaced by a single different letter throughout the whole thing, anyone determined enough could read it. Like even if all your A's = N's, Z's = B's, K's = I's, S's = A's, etc...

All anyone would have to do is some simple decoding and could do it within 30 minutes easily. They would just have to target small simple or repeated characters/words. A single character by itself is likely only going to be either an A or I, then it's just a matter of trial and error trying to plug that in and completing other words. So simply transforming a letter to a different letter/symbol/number etc won't cut it if you don't want your information possibly figured out.

If you're going to do that, you might want to also shift everything around a few times in some sort of matrix configurations so it's scrambled and even if they did figure out what all the now a bit more non-sensical letters were somehow, they still would have to unscramble it to get the original text.
vrihai
vrihai
Dunno if its mentioned already, but why not use a password in addition to XOR? You cycle through the letters of the password and add the ascii value to the already XOR'd text. I don't think you'll see a pattern in the text.
speciesUnknown
speciesUnknown
You could just use a rot13 or whatever system, and code lorum ipsum. Why is the university saying that you must code personal information? Or is it just your idea? Its a bad one.
Don't thank me, thank the moon's gravitation pull! Post in My Journal and help me to not procrastinate!
_dagarach
_dagarach
Use a Bacon Cipher. I would think it particularly appropriate to a typography project.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.