示例#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)
 {
 }
示例#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
            )
 {
 }