title: Bit-Shift a String
body: <p>Im working on a simple encryptor for class and what Im trying to do is take in a message from the user as a String, scramble it then save the scrambled messege. I can figure out most parts of this, except that I would like to scramble the String by bit-shifting all the chars by a user set value.</p>
  
  <p>So say I have:</p>
  
  <pre><code>    String msg="hello my name is blah blah";
      int userKey=6;
  </code></pre>
  
  <p>So how would I bit-shift the String by the value of the int?</p>