• Is this simple cipher easily broken?
    10 replies, posted
I was bored and came up with a simple cipher whilst at work, I plan on using it to encode private jokes etc on facebook. Here is a sample; 0E/0E/0E.$17/12/0D/1A$12/08$15/06/18/10/12/0D$08/16/03$0C/0D$0F/16/14/08! The above is 7 words, there's a full stop (period) after the first word and an exclamation mark after the last one. Oh and the reason I put this in here is because part of the encoding process uses something that computer people will be pretty familiar with. Was just wondering if you guys think it's too simple to effectively hide stuff?
This might take awhile. $ is a space, but that's all I got.
Yeah you're right there. 10 points ;)
I supposed you're using hexadecimal there. This is what i got for the first few, obviously this is nonsense so you probably have another step between the decimal number and letter: nnn. wrmz rh uf
"mmm. Dina is fuckin sex on legs!" Clever reversing the alphabet like that, I almost didn't get it :buddy:
Got it, starts like this: mmm. dina is fuckin Deciphering the rest now. [editline]06:00PM[/editline] FFFFFUUUUU Ninjas
To answer your question OP, I'd say it's good enough if you want it easy enough for people to figure out, but hard enough that most people would give up before they do.
Haha well done roast beast! And also Tu154M you guys did well! :) should i make the cipher a bit trickier? [editline]04:10PM[/editline] Yeah you're probably right dude, will probably keep it as it is :) [editline]04:12PM[/editline] Thanks for your input guys!
Also, php script: [url]http://www.fpv-community.de/files/pixdecipher.php?code=0E/0E/0E.$17/12/0D/1A$12/08$15/06/18/10/12/0D$08/16/03$0C/0D$0F/16/14/08![/url] Code to decipher is behind "?code="
Wow, cool! can you post your PHP code so we can see how you implemented it?
[code] <?php $code = str_replace(".", "/FF/",$code); $code = str_replace("!", "/FE/",$code); $code = str_replace("?", "/FD/",$code); $code = str_replace("$", "/FC/",$code); $letter = explode("/",$code); $count = count($letter); $i = 0; while($i <= $count){ $output = hexdec($letter[$i]); switch ($output) { case 1: echo "z"; break; case 2: echo "y"; break; case 3: echo "x"; break; case 4: echo "w"; break; case 5: echo "v"; break; case 6: echo "u"; break; case 7: echo "t"; break; case 8: echo "s"; break; case 9: echo "r"; break; case 10: echo "q"; break; case 11: echo "p"; break; case 12: echo "o"; break; case 13: echo "n"; break; case 14: echo "m"; break; case 15: echo "l"; break; case 16: echo "k"; break; case 17: echo "j"; break; case 18: echo "i"; break; case 19: echo "h"; break; case 20: echo "g"; break; case 21: echo "f"; break; case 22: echo "e"; break; case 23: echo "d"; break; case 24: echo "c"; break; case 25: echo "b"; break; case 26: echo "a"; break; case 255: echo "."; break; case 254: echo "!"; break; case 253: echo "?"; break; case 252: echo " "; break; } $i++; } ?> [/code]
Sorry, you need to Log In to post a reply to this thread.