public const string DEFAULT_SYSTEM_PSD = "00000000"; //8个0默认密码 public static string GetEncryKey(string psd) { string hexPsd = StrUtils.ASCIIStrToHexStr(psd); return(TripleDESIntf.EncryHexStr_DESCS(hexPsd, TRANSPORT_KEY)); }