code: public void write(int b) throws IOException {
          ibuffer[0] = (byte) b;
          obuffer = cipher.update(ibuffer, 0, 1);
          if (obuffer != null) {
              output.write(obuffer);
              obuffer = null;
          }
      }
docs: Writes the specified byte to this output stream.
  
  @param      b   the <code>byte</code>.
  @exception  IOException  if an I/O error occurs.
  @since      JCE1.2