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