@Test public void testGetMD5b() throws Exception { assertArrayEquals(new byte[] {-33, -22, -15, 3, -112, -27, 96, -82, -89, 69, -52, -70, 83, -32, 68, -19}, Security.getMD5b("cisco")); assertArrayEquals(new byte[] {-82, -15, -66, -70, 47, 118, 45, -89, -54, 70, 37, 51, -58, -107, 57, 62}, Security.getMD5b("opendaylight")); }
public static byte[] getMD5b(String str) { return Hashing.md5().hashString(str, StandardCharsets.US_ASCII).asBytes(); }
Security { public static byte[] getMD5b(String str) { return Hashing.md5().hashString(str, StandardCharsets.US_ASCII).asBytes(); } }
Security { public static byte[] getMD5b(String str) { return Hashing.md5().hashString(str, StandardCharsets.US_ASCII).asBytes(); } private  Security(); }
Security { public static byte[] getMD5b(String str) { return Hashing.md5().hashString(str, StandardCharsets.US_ASCII).asBytes(); } private  Security(); static byte[] getMD5b(String str); static String getMD5s(String str); }
Security { public static byte[] getMD5b(String str) { return Hashing.md5().hashString(str, StandardCharsets.US_ASCII).asBytes(); } private  Security(); static byte[] getMD5b(String str); static String getMD5s(String str);  }