title: lossy conversion from int to byte?
body: <p>my simple encryption algorithim i am doing as an exercise is giving me a possible lossy conversion from int to byte? but i dont know why it is giving me this error any ideas?</p>
  
  <pre><code>public class Rot13Crypt extends CryptStream
  {
      public Rot13Crypt(StreamPair theStreams)
      {
          super(theStreams);
      }
      protected byte [] cryptData(byte [] data, int len)
      {
          byte [] cryptedByte = new byte[len];
          for(int i = 0; i &lt; len; i++)
          {
              cryptedByte[i] = (data[i] + 13) % 256;
          }
          return cryptedByte;
      }
      protected byte [] decryptData(byte [] data, int len)
      {
          byte [] decryptedByte = new byte[len];
          for(int i = 0; i &lt; len; i++)
          {
              decryptedByte[i] = (data[i] * 256) - 13;
          }
          return decryptedByte;
      }
  }
  </code></pre>