Exemplo n.º 1
0
 /** Constructs a CipherOutputStream from an OutputStream and a BufferedBlockCipher. */
 public CipherOutputStream(OutputStream os, BufferedBlockCipher cipher) {
   super(os);
   this.bufferedBlockCipher = cipher;
   this.buf = new byte[cipher.getBlockSize()];
 }