+ 1
Help me understand encryption
Can someone help me understand the caesar encryption? I know what it does but can you explain how you would type it out?
1 Answer
+ 3
Phyton got the 'ord' and 'chr' command. So you can change your own increment, using the string as array, while looping thought it.
>>> ord('c')
99
>>> ord('c') + 1
100
>>> chr(ord('c') + 1)
'd'
>>>