Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Hill cipher, CBC, and One time pad

Name: Anonymous 2006-05-09 11:04

I'm going to make this post, then post it again in the replies as a Hill encoded (with CBC) message and a One-time Pad encoded message.  In both cases, the key is goback2b, something I thought might be a bit fitting.  I wrote this to allow a fairly secure encryption method that could be used on the internet.  Most formats work with files directly.   However, on message boards and such, we have to work with characters.  A lot of ASCII values are really odd characters, which may or may not display differently on different machines.  I chose to work with just the 71 most common characters.  This means you can copy and paste it around without messing everything up.  Could be interested to try here, to see what we can do.  The Hill cipher is veunerable to a known-plaintext attack, but requires n-squared pairs with the same key.  It's doubtful anybody here would be using the same key more than a few hundred times, though this could be a problem if the messages are all short.  Anyways, I'll post the code later, if desired.  For now, what could this be used for?

Name: Anonymous 2006-05-09 14:37

>>10
I think you're confusing encryption and encoding.  Base 64 doesn't offer any kind of security.  Anybody who knows what it is can decode it.  A hill cipher provides a key; only if you have the key can you decrypt the ciphertext and get a useable plaintext again.  Only about half the symbols in the ASCII range are clearly defined.  The rest, though also defined, can vary in implimentation.  How does it show up on your screen?  Will it stay the same between your word processor and your web browser?  What about somebody elses?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List