public static String getMd5(InputStream in) throws IOException {
        byte[] digest = getDigest(in, "MD5");
        return StringUtils.hex(digest);
    }
public static String getMd5 ( InputStream in ) throws IOException { byte [ ] digest = getDigest ( in , "MD5" ) ; return StringUtils . hex ( digest ) ; }
@return MD5 digest (32 characters).