public static String getMD5String(String value) {
        try {
            MessageDigest md = MessageDigest.getInstance("md5");
            byte[] e = md.digest(value.getBytes());
            return toHexString(e);
        } catch (NoSuchAlgorithmException e) {
            logger.error("MD5Utils || getMD5String" +e.toString());
            return value;
        }
    }
Date: 2018/8/23
Company: www.dtstack.com
@author xuchao
core/src/main/java/com/dtstack/flink/sql/util/MD5Utils.java