test_class.file: routing-api/src/test/java/eco/data/m3/routing/api/utils/MD5UtilTest.java
test_class.identifier: MD5UtilTest
test_class.superclass: extends TestCase
test_case.body: @Test
      public void testMD5Util() {
  
          byte[] input = {49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 49};
          String output = MD5Util.makeMD5(input);
          String expect = "499351bfa5f412772850df0c87a965f5";
          assertEquals(expect, output);
  
      }
test_case.class_method_signature: MD5UtilTest.testMD5Util()
test_case.full_signature: @Test public void testMD5Util()
test_case.identifier: testMD5Util
test_case.invocations: makeMD5 assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMD5Util()
focal_class.file: routing-api/src/main/java/eco/data/m3/routing/api/utils/MD5Util.java
focal_class.identifier: MD5Util
focal_class.class_method_signature: MD5Util.makeMD5(byte [] data)
focal_class.full_signature: public static String makeMD5(byte [] data)
focal_class.identifier: makeMD5
focal_class.modifiers: public static
focal_class.parameters: (byte [] data)
focal_class.return: String
focal_class.signature: String makeMD5(byte [] data)
focal_method.body: public static String makeMD5(byte [] data)
  	{
          String result = "";
          try {
              MessageDigest md = MessageDigest.getInstance("MD5");
              md.update(data);
              byte b[] = md.digest();
              int i;
              StringBuffer buf = new StringBuffer("");
              for (int offset = 0; offset < b.length; offset++) {
                  i = b[offset];
                  if (i < 0)
                      i += 256;
                  if (i < 16)
                      buf.append("0");
                  buf.append(Integer.toHexString(i));
              }
              result = buf.toString();
          } catch (NoSuchAlgorithmException e) {
              System.out.println(e);
          }
          return result;
  	}
focal_method.class_method_signature: MD5Util.makeMD5(byte [] data)
focal_method.full_signature: public static String makeMD5(byte [] data)
focal_method.identifier: makeMD5
focal_method.invocations: getInstance update digest append append toHexString toString println
focal_method.modifiers: public static
focal_method.parameters: (byte [] data)
focal_method.return: String
focal_method.signature: String makeMD5(byte [] data)