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