So to encrypt a message using a Caesar shift cipher.....
1. The alphabet is numbered from 0-25 and each letter has a corresponding number.
2. You decide to add for example 3 to each letter, so say you have "HI".... H=7 so when you add 3 you get 10 so H becomes K (as K=10) and I=8 and when you add 3 you get 11 and so I becomes L (as L=11)
so your encrypted message is.... KL
3. So if you want to decipher a message and you know 3 has been added to encrypt it you just take 3 away and so KL will become HI
See If you can decipher this? :)
I added 3 to each letter... A=0 and Z=25, if you go past Z when adding 3 just continue on counting with A
ODVW GDB RI ZRUN HASHULHQFH ZDV BHVWHUGDB! :(
good luck :)
Link
No comments:
Post a Comment