Here you can find the source of md5(byte[] param)
public static byte[] md5(byte[] param)
//package com.java2s; //License from project: Open Source License import java.security.MessageDigest; public class Main { public static byte[] md5(byte[] param) { try {//w w w . j av a2 s . c o m MessageDigest md5 = MessageDigest.getInstance("MD5"); return md5.digest(param); } catch (Exception e) { e.printStackTrace(); } return null; } }