//AES密钥向量
private static readonly byte[] _aeskeys = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF, 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF };
//验证Base64字符串的正则表达式
private static Regex _base64regex = new Regex(@"[A-Za-z0-9\=\/\+]");
//防SQL注入正则表达式
private static Regex _sqlkeywordregex = new Regex(@"(select|insert|delete|from|count
///
/// AES加密
///
/// 加密字符串
/// 密钥
///
public static string AESEncrypt(stri