「Java」- MD5

  CREATED BY JENKINSBOT

Java Secure Hashing – MD5, SHA256, SHA512, PBKDF2, BCrypt, SCrypt

public String md5(String passwordToHash) {
	MessageDigest md = MessageDigest.getInstance("MD5");
	md.update(passwordToHash.getBytes());
	byte[] bytes = md.digest();

	StringBuilder sb = new StringBuilder();
	for(int i=0; i< bytes.length ;i++) {
		    sb.append(Integer.toString((bytes[i] & 0xff) + 0x100, 16).substring(1));
	}

	return sb.toString();
}