All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qingxun.javasdkapi.utils.Md5BytesUtil Maven / Gradle / Ivy

Go to download

openapi SDK for Java Copyright © 2023 杭州轻寻科技 All rights reserved. 版权所有 (C)杭州轻寻科技 http://open.qingxun.com

The newest version!
package com.qingxun.javasdkapi.utils;

import cn.hutool.crypto.SecureUtil;

import java.io.ByteArrayInputStream;
import java.io.IOException;

public class Md5BytesUtil {

    public static String md5(byte[] bytes){
        ByteArrayInputStream byteArrayInputStream= new ByteArrayInputStream(bytes);
        String md5 = SecureUtil.md5(new ByteArrayInputStream(bytes));
        try {
            byteArrayInputStream.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return md5;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy