AverageJoe Posted July 1, 2007 Share Posted July 1, 2007 This is my first program, just wanted to see what you guys think. Its in python, which i will recomend as a great language to learn in. import string letters = string.ascii_lowercase + string.ascii_uppercase + string.punctuation word = (raw_input("what word would you like to encode ?")) encoded = '' for letter in word: if letter == ' ': encoded = encoded + ' ' else: x = letters.index(letter) + 5 encoded = encoded + letters[x] print encoded if you can't tell what it does, it cyphers text. Ex. the above would be Dtz hfs,y yjqq Bmfy ny itjx; ny hDumjwx yjCy= all you have to do to decypher it is change the + 5 to -5 lol it's simple, but i think its cool. Quote Link to comment Share on other sites More sharing options...
awesomegamer Posted July 1, 2007 Share Posted July 1, 2007 Pretty cool. You use a developer or text compiler? I like to do things like that, I make stuff that is impossible to decrypt (to original form) good for custom algorithm passwords. Quote Link to comment Share on other sites More sharing options...
AJKING Posted July 4, 2007 Share Posted July 4, 2007 Well Done, How Long Did I Take? Quote Link to comment Share on other sites More sharing options...
kronix3 Posted July 5, 2007 Share Posted July 5, 2007 oh this was the program that you showed me on aim. I like it and its worth using. Quote Link to comment Share on other sites More sharing options...
nilayz Posted July 6, 2007 Share Posted July 6, 2007 Nice script, though I would suggest making the processing a bit more complex, as simple shift ciphers are very easy to break Quote Link to comment Share on other sites More sharing options...
AverageJoe Posted July 6, 2007 Author Share Posted July 6, 2007 oh this was the program that you showed me on aim. I like it and its worth using. I don't recall talking to you on aim. anyways, I got it down pretty quick, the only hard part was figuring out how to get the z to shift up. Quote Link to comment Share on other sites More sharing options...
Striker Posted July 8, 2007 Share Posted July 8, 2007 I think it's cool! Quote Link to comment Share on other sites More sharing options...
wwe9112 Posted July 8, 2007 Share Posted July 8, 2007 How do u test it? Sorry to ask such a noob question. Quote Link to comment Share on other sites More sharing options...
awesomegamer Posted July 8, 2007 Share Posted July 8, 2007 You need to compile and run it. A compiler is a program the converts readable code into a machine language so that it can run. Quote Link to comment Share on other sites More sharing options...
Geou Posted July 12, 2007 Share Posted July 12, 2007 Not bad, it could be fairly useful at times. Quote Link to comment Share on other sites More sharing options...
naynesh Posted September 8, 2007 Share Posted September 8, 2007 i think ill try and do that some day Quote Link to comment Share on other sites More sharing options...
njenkins3 Posted September 19, 2007 Share Posted September 19, 2007 wow fascinating stuff! i'm learning how to create web sites right now and next year i'm probably going to get into a few college courses to get my bachelors in web designing! Quote Link to comment Share on other sites More sharing options...
karath Posted September 23, 2007 Share Posted September 23, 2007 I have counted something like 5 spam posts... Did you lift the code off the internet (gasp!) or did you actually write it all by yourself? I know a couple of my friends write codes, though one of them just lifts it directly off the internet. Quote Link to comment Share on other sites More sharing options...
AverageJoe Posted September 23, 2007 Author Share Posted September 23, 2007 Wow that is from back in the day. I wrote that by myself, but now I'm onto loading 3d models, and making animation using opengl! It's funny how things work out, I don't even use python anymore, I've moved onto c++. Joe Quote Link to comment Share on other sites More sharing options...
karath Posted September 23, 2007 Share Posted September 23, 2007 Wow that is from back in the day. I wrote that by myself, but now I'm onto loading 3d models, and making animation using opengl! It's funny how things work out, I don't even use python anymore, I've moved onto c++. Joe Wow, you mean this code was old? So, do you have a professional graphics rendering program or what? Like Xara or Photoshop Elements CS3 or do you just use GIMP for the 3D models? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.