MCPcopy Create free account
hub / github.com/PlexPt/rocket-pt / md5

Method md5

src/main/java/com/rocketpt/server/util/SecurityUtil.java:14–20  ·  view source on GitHub ↗
(String username, String password)

Source from the content-addressed store, hash-verified

12
13
14 @SneakyThrows
15 public static String md5(String username, String password) {
16 MessageDigest md = MessageDigest.getInstance("MD5");
17 md.update(username.getBytes());
18 md.update(password.getBytes());
19 return new BigInteger(1, md.digest()).toString(16);
20 }
21
22}

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected