title: _cipher.doFinal() behaves differently on Windows and Linux
body: <p>I need some suggestions on below mentioned java statement.</p>
  
  <pre><code>String strCipherStr = 
      new String_cipher.doFinal(
          Base64.decodeBase64(
              encryptedStr.getBytes("UTF-8"))), "UTF-8");
  </code></pre>
  
  <p>This statement gives different output on Windows and Linux.  On windows it throws error <code>javax.crypto.BadPaddingException</code> and in Linux, no exception. I have checked JCE but version is same on both environment.</p>
  
  <p>Appreciate your help!</p>