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