摘要: 调用方法为:Encript.md5("www.young-sun.com");View Code 1 package com.youngsun.lbt; 2 3 import java.security.MessageDigest; 4 5 publicclass Encript { 6 //十六进制下数字到字符的映射数组 7 privatefinalstatic String[] hexDigits = {"0","1","2","3","4","5", 阅读全文
posted @ 2011-10-05 23:59 濤叔 阅读(469) 评论(0) 推荐(0) 编辑