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