java中md5加密工具类

时间:2022-03-10 03:46:40
【文件属性】:
文件名称:java中md5加密工具类
文件大小:1KB
文件格式:JAVA
更新时间:2022-03-10 03:46:40
java md5 private static final String hexDigits[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" }; public static void main(String[] args){ String result = MD5Util.MD5Encode("密码", "UTF-8"); System.out.println("result="+result); }

网友评论