From 914d9243df8ac8817427e02912ebf4c07c35ded6 Mon Sep 17 00:00:00 2001 From: zhouping Date: Fri, 13 Mar 2020 16:06:43 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-27640=20=E5=88=A0=E9=99=A4=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=81=9A=E4=B8=8B=E8=80=81=E7=AE=80=E9=81=93?= =?UTF-8?q?=E4=BA=91=E6=8F=92=E4=BB=B6=E7=9A=84=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/apache/commons/codec/digest/DigestUtils.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fine-commons-codec/src/org/apache/commons/codec/digest/DigestUtils.java diff --git a/fine-commons-codec/src/org/apache/commons/codec/digest/DigestUtils.java b/fine-commons-codec/src/org/apache/commons/codec/digest/DigestUtils.java new file mode 100644 index 000000000..758fefea4 --- /dev/null +++ b/fine-commons-codec/src/org/apache/commons/codec/digest/DigestUtils.java @@ -0,0 +1,12 @@ +package org.apache.commons.codec.digest; + +/** + * 只做兼容使用,新的实现 + * 参考 com.fr.third.org.apache.commons.codec.digest.DigestUtils + */ +@Deprecated +public class DigestUtils { + public static String sha1Hex(final byte[] data) { + return com.fr.third.org.apache.commons.codec.digest.DigestUtils.sha1Hex(data); + } +}