自由的力量,自由的生活。
MD5Digest dig = new
MD5Digest();
byte[] bytes = "111111".getBytes();
dig.update(bytes, 0, bytes.length);
byte[] md5 = new byte[dig.getDigestSize()];
dig.doFinal(md5, 0);
System.out.println(new String(Base64.encode(md5)));
Copyright @ ivaneeo Powered by: .Text and ASP.NET Theme by: .NET Monster