获取输入流的md5
代码如下
import org.apache.commons.codec.digest.DigestUtils;
.....
byte[] bytes = DigestUtils.md5(inputStream);
String md5Hex
import org.apache.commons.codec.digest.DigestUtils;
.....
byte[] bytes = DigestUtils.md5(inputStream);
String md5Hex