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

Ruby Command Line One Time Pad

Name: Anonymous 2011-11-28 19:27

Sup /prog/

I'm trying to write a one time pad program in Ruby and I'm having some trouble translating what is typed (the message) with a random number (srand).

I have a = 1 A = 1 b = 2 B = 2 and so forth, but what's an effective way of having each individual letter in a sentence be converted into a number?

Thanks

Name: Anonymous 2011-11-29 13:41

Why is /prog/ full of so much non /prog/ related stuff? :|

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