zhouping
5 years ago
1 changed files with 12 additions and 0 deletions
@ -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); |
||||
} |
||||
} |
Loading…
Reference in new issue