|
|
@ -9,4 +9,7 @@ public class DigestUtils { |
|
|
|
public static String sha1Hex(String data) { |
|
|
|
public static String sha1Hex(String data) { |
|
|
|
return com.fr.third.org.apache.commons.codec.digest.DigestUtils.sha1Hex(data); |
|
|
|
return com.fr.third.org.apache.commons.codec.digest.DigestUtils.sha1Hex(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static String md5Hex(String data) { |
|
|
|
|
|
|
|
return com.fr.third.org.apache.commons.codec.digest.DigestUtils.md5Hex(data); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|