I need help with this program I am doing. I need to be able to select encrypt or decrypt(ive only done encrypt at the momment) and need to be able to select an offset here what ive got so far and I have a number of problems. http://imgur.com/a/N3Tul 1 is that it only cycles back around with lower case and does work with upper case, second is that I dont know if I should be using a while loop there and dont know why it isnt working and finally I can't set a key for some reason, because it thinks "1" is STR but if I put 1 with out "" it works but that mean I can't change it. I am new to python sorry if some of this is obvious.
Jump to Post
First you have to define the limits of the character set. Are you using English/ASCII as other character sets have an extended range?
Do you want to encode special characters as well, @. ?. $ etc.
For your purposes, ASCII goes from decmal 32, space, through decimal 126, ~.
All 2 Replies
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.