示例#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);
 }