Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

Nice script, though I would suggest making the processing a bit more complex, as simple shift ciphers are very easy to break :)

Posted

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.

 

 

  • 1 month later...
  • 2 weeks later...
Posted

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!

Posted

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.

Posted

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

Posted
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?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...