<commit_before>package com.camnter.newlife.utils;

import java.security.MessageDigest;

/**
 * Description：Md5Util
 * Created by：CaMnter
 * Time：2015-12-06 22:33
 */
public class Md5Util {

    public static String getMD5String(String key) {
        char hexDigits[] = { '0', '1', '2', '3', '4',
                '5', '6', '7', '8', '9',
                'A', 'B', 'C', 'D', 'E', 'F' };
        try {
            byte[] btInput = key.getBytes();
            //获得MD5摘要算法的 MessageDigest 对象
            MessageDigest mdInst = MessageDigest.getInstance("MD5");
            //使用指定的字节更新摘要
            mdInst.update(btInput);<commit_msg>mod MD5Util<commit_after>package com.camnter.newlife.utils;

import java.security.MessageDigest;

/**
 * Description：Md5Util
 * Created by：CaMnter
 * Time：2015-12-06 22:33
 */
public class MD5Util {

    public static String getMD5String(String key) {
        char hexDigits[] = { '0', '1', '2', '3', '4',
                '5', '6', '7', '8', '9',
                'A', 'B', 'C', 'D', 'E', 'F' };
        try {
            byte[] btInput = key.getBytes();
            //获得MD5摘要算法的 MessageDigest 对象
            MessageDigest mdInst = MessageDigest.getInstance("MD5");
            //使用指定的字节更新摘要
            mdInst.update(btInput);
{'fraction_non_alphanumeric': 0.16586921850079744, 'fraction_numerical': 0.043859649122807015, 'mean_word_length': 2.217948717948718, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1083774', 'n_tokens_mistral': 483, 'n_tokens_neox': 457, 'n_words': 94}