摘要: 结果: md5Hex: 4cb9c8a8048fd02294477fcb1a41191a 第二种 第三种commons-codec 结果: 原始字符串为:中文123abc,./MD5加密为:9ba58cffe5815ea9f365b86a3f473ad5Sha1加密为:ec2f9a1f8f601dd 阅读全文
posted @ 2019-03-08 18:18 盟约 阅读(326) 评论(0) 推荐(0)
摘要: private static String buildMd5Params(Map map) { StringBuilder result = new StringBuilder(256); Map sortedMap = new TreeMap(new Comparator() { public int compare(String... 阅读全文
posted @ 2019-03-08 15:50 盟约 阅读(3365) 评论(0) 推荐(0)
摘要: configMap is {merch=000001110100000812, path=F:/keypath/test_yufu_nonca.cer}JSON.toJSONString(configMap) is {"merch":"000001110100000812","path":"F:/k 阅读全文
posted @ 2019-03-08 12:03 盟约 阅读(2230) 评论(0) 推荐(0)