In[12]:=
  shiftcipher[ "abc",3]

Out[12]=

  def

Up to Shift Cipher: