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