//消息摘要:将任意长度的字符数组处理成定长的字符数组,用于确保原字符串不被修改, //也可以用做密码确认,如果密码一致,则MD5产生后的值必然一致,否则不相同 public class DataUtil { public static void main(String[] args) throws Exception { char[] ch={'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F',}; String sr…