You are viewing a single comment's thread. Return to all comments →
"c=a+(c-a+rot)% 26". Can you explain for me why there is " - a" in the parenthesis?
order of operations. First he subtracts from the char and adds the rotation then mods by 26 so he can get a number between 0-26. then he adds the char back to make it into a proper ascii char