A method that takes in a string and a shift factor and then outputs the modified string. Each letter in the original text is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on.