MD5-32位小写

public class MakeMD5_UTF8 {

	public static String MD5min(String str) {
	String result = "";
	try {
		MessageDigest md5 = MessageDigest.getInstance("MD5");
		md5.update((str).getBytes("UTF-8"));
		byte b[] = md5.digest();
		 
		int i;
		StringBuffer buf = new StringBuffer("");
		 
		for(int offset=0; offset

转载于:https://my.oschina.net/u/3727427/blog/2990866

你可能感兴趣的:(嵌入式,php)