Exemplo n.º 1
0
 public Stream DecryptStream(Stream s, byte[] pbKey, byte[] pbIV)
 {
     return(StandardAesEngine.CreateStream(s, false, pbKey, pbIV));
 }
Exemplo n.º 2
0
 public Stream EncryptStream(Stream sPlainText, byte[] pbKey, byte[] pbIV)
 {
     return(StandardAesEngine.CreateStream(sPlainText, true, pbKey, pbIV));
 }