title: javax.crypto.IllegalBlockSizeException: Data must not be longer than 256 bytes when using java8 parallelStream()
body: <p>My code: </p>
  
  <p><code>blotterlist.parallelStream().filter(p -&gt; p.size() &gt; 0).forEach(p -&gt; decrypt(p));</code></p>
  
  <pre><code>private void decrypt(List&lt;BlotterView&gt; blotter) {
      for (BlotterView blotterView : blotter) {
          try {
              String s = crypto.encrypt(blotterView.getCreditCardNumber());
              crypto.decrypt(s);
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  }
  </code></pre>
  
  <p>The above code throws exception. 
  But instead of using the parallelStream, when I used the normal for loop it didn't throw exception.</p>
  
  <p>Note. The Crypto is an implementation of RSA algo and methods are not Syncronized. </p>