title: StreamCorruptedExecution when reading Cipher generated file
body: <p>I get a StreamCorruptedExecution when I want to read a file that has been written with CipherOutputStream. The file is well created.
  Here's the code, the crash happens on the last line:</p>
  
  <pre><code>            file = new File("/sdcard/test.txt");
              SecretKey key64 = new SecretKeySpec( new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }, "Blowfish" );
              Cipher cipher = Cipher.getInstance( "Blowfish" );
  
              //Code to write your object to file
  
              cipher.init( Cipher.ENCRYPT_MODE, key64 );
  
              SealedObject sealedObject = new SealedObject( (Serializable) "TEST", cipher);
              CipherOutputStream cipherOutputStream = new CipherOutputStream( new BufferedOutputStream( new FileOutputStream( file ) ), cipher );
              ObjectOutputStream outputStream = new ObjectOutputStream( cipherOutputStream );
              outputStream.writeObject( sealedObject );
              outputStream.flush();
              outputStream.close();
  
              //now try to read it again
  
              CipherInputStream cipherInputStream = new CipherInputStream( new BufferedInputStream( new FileInputStream( file ) ), cipher );
  
              ObjectInputStream inputStream = new ObjectInputStream( cipherInputStream ); //&lt;== this line crashes with StreamCorruptedExecution
  </code></pre>