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