(String target)
| 25 | public class CryptUtils { |
| 26 | |
| 27 | public static String md5(String target) throws Exception { |
| 28 | return Hex.encodeHexString(md5(target.getBytes())); |
| 29 | } |
| 30 | |
| 31 | public static byte[] md5(byte[] target) throws Exception { |
| 32 | return MessageDigest.getInstance("MD5").digest(target); |
nothing calls this directly
no test coverage detected