コード例 #1
0
 public void Decrypt(Stream inputStream, Stream outputStream, byte[] key, byte[] iv)
 {
     BouncyCastleHelper.BlockCipherRunner(inputStream, outputStream, key, iv, new SerpentEngine(), false);
 }
コード例 #2
0
 public void Encrypt(Stream inputStream, Stream outputStream, byte[] key, byte[] iv)
 {
     BouncyCastleHelper.BlockCipherRunner(inputStream, outputStream, key, iv, new AesEngine(), true);
 }