MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / md5

Method md5

src/main/java/core/packetproxy/common/CryptUtils.java:27–29  ·  view source on GitHub ↗
(String target)

Source from the content-addressed store, hash-verified

25public 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);

Callers

nothing calls this directly

Calls 2

getBytesMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected