looking for different codes but gives the same result (no change to the signeture)
<pre><code> public void encrypt ()

   {

      if (!encrypted)

      {
         String masked = "";
         for (int index=0; index &lt; message.length(); index++)
            masked = masked + (char)(message.charAt(index)+shift);
         message = masked;
         encrypted = true;
      }
   }
</code></pre>
