Beispiel #1
0
 /// <exception cref="System.IO.IOException"/>
 public CryptoInputStream(InputStream @in, CryptoCodec codec, byte[] key, byte[] iv
                          )
     : this(@in, codec, CryptoStreamUtils.GetBufferSize(codec.GetConf()), key, iv)
 {
 }
Beispiel #2
0
 /// <exception cref="System.IO.IOException"/>
 public CryptoOutputStream(OutputStream @out, CryptoCodec codec, byte[] key, byte[]
                           iv, long streamOffset)
     : this(@out, codec, CryptoStreamUtils.GetBufferSize(codec.GetConf()), key, iv, streamOffset
            )
 {
 }