/// <summary>
 /// 加密字符串
 /// </summary>
 /// <param name="inputStr">输入字符串</param>
 /// <param name="keyStr">密码,可以为“”</param>
 /// <returns>输出加密后字符串</returns>
 static public string SEncryptString(string inputStr, string keyStr)
 {
     TmphMySecurity ws = new TmphMySecurity();
     return ws.EncryptString(inputStr, keyStr);
 }
 /// <summary>
 ///  解密字符串 密钥为系统默认
 /// </summary>
 /// <param name="inputStr">要解密的字符串</param>
 /// <returns>解密后的结果</returns>
 static public string SDecryptString(string inputStr)
 {
     TmphMySecurity ws = new TmphMySecurity();
     return ws.DecryptString(inputStr, "");
 }