急急急,手边没编程工具,求帮计算字符串,求signature=?
String signKey = "EAE588050766089A";
String merNo = "2009";
String termNo = "20099991";
String transMethod = "A10020";
String termSeq = "001003";
String signatureMethod = "MD5";
String sendObjType = "0";
String sendObj = "18917832108";
String sendMessageType = "1";
String ticketType = "20099003";
String num = "1";
String resv = "aaaaaa";
String encryptedString = merNo + termNo + transMethod + signatureMethod
+ termSeq + sendObjType + sendObj + sendMessageType
+ ticketType + num;
MD5 md5 = new MD5();
String signature = "";
try {
signature = md5.genSign(encryptedString + signKey);
} catch (NoSuchAlgorithmException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}