| | |
| | | public static void main(String[] args) throws UnsupportedEncodingException, NoSuchAlgorithmException, InvalidKeyException { |
| | | long timestamp = System.currentTimeMillis(); |
| | | Map<String, Object> paramMap = new HashMap<>(); |
| | | paramMap.put("appKey", "95578dbdeabc41049b75e8af3dd66d19"); |
| | | paramMap.put("appKey", "a4b2285c6cd448bc9c297728a699893d"); |
| | | paramMap.put("timestamp", timestamp); |
| | | System.out.println(timestamp); |
| | | System.out.println(sign(paramMap,"f3a098d7848f87042b39d2cc1645b6c0ffa065cd")); |
| | | System.out.println(sign(paramMap,"9e80437dab1cb978ccc843c8287ad0c1045a0b49")); |
| | | } |
| | | } |