12 2011 档案
摘要:在网上查到的md5算法的实现,记录一下。方法一:public class MD5 {private static MD5 md5;private MD5(){}public static MD5 getInstance() {if (md5 == null) {md5 = new MD5();}return md5;}/* * Convert a 32-bit number to a hex string with ls-byte first */private String hex_chr = "0123456789abcdef";private String rhex(
阅读全文