Exemplo n.º 1
0
 public static byte[] Encrypt(byte[] input, string password)
 {
     return(CryptoHelper.Encrypt(input, GetAesCryptoServiceProvider(password)));
 }
Exemplo n.º 2
0
 public static string Encrypt(string text, string password)
 {
     return(CryptoHelper.Encrypt(text, GetAesCryptoServiceProvider(password)));
 }