public void testWrite5() throws Exception {
  Cipher cf=Cipher.getInstance("DES/CBC/PKCS5Padding");
  NullCipher nc=new NullCipher();
  CipherOutputStream stream1=new CipherOutputStream(new BufferedOutputStream((OutputStream)null),nc);
  CipherOutputStream stream2=new CipherOutputStream(stream1,cf);
  CipherOutputStream stream3=new CipherOutputStream(stream2,nc);
  stream3.write(new byte[]{0},0,0);
}

public void testWrite5 ( ) throws Exception { Cipher cf = Cipher . getInstance ( "DES/CBC/PKCS5Padding" ) ; NullCipher nc = new NullCipher ( ) ; CipherOutputStream stream1 = new CipherOutputStream ( new BufferedOutputStream ( ( OutputStream ) null ) , nc ) ; CipherOutputStream stream2 = new CipherOutputStream ( stream1 , cf ) ; CipherOutputStream stream3 = new CipherOutputStream ( stream2 , nc ) ; stream3 . write ( new byte [ ] { 0 } , 0 , 0 ) ; }
write ( byte [ ] b , int off , int len )
