Пример #1
0
 public byte[] Encrypt(byte[] data)
 {
     return(CipherUtility.Encrypt <AesCryptoServiceProvider>(data, _key, _salt));
 }
Пример #2
0
 public byte[] Encrypt(byte[] data)
 {
     return CipherUtility.Encrypt<TripleDESCryptoServiceProvider>(data, _key, _salt);
 }