Daily List

Over a break I decided to implement a simple cypher that I’ve been thinking about recently.  Its’ not much, and certainly not perfect in its current implementation, but it’s sort of fun to play with.  Check out my Rotate i page.  What it does is uses a simple alpha slide cypher, but instead of shifting everything over a few slots (i.e. rot 13 moves things 13, or halfway across the alphabet) mine shifts it based on that character’s index in th string.  So the input string, “aaaa” wolud result in “bcde”.  Some issues I’m hitting are that you’ll very quickly overlap the 255 eASCII characters, many of which are non-printing.  To get around this, every 26 iterations I’m resetting the offset.  Simple, but it’s been working.  I know of several better ways to do the normalizing, but that exceeded the bounds of my break time.  I also kinda like seeing the e-ASCII stuff showing up.  It makes it look more garbagey.

Iqsi%v})oyv|‡/„z€~y‡…9‘jvk$nz(

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>