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