title: found different MD5 hash value generated by java and datastage
body: <p>I am trying to generate MD5 checksum value using java for a string "TREFFLAGDATAC000000EN", but for the same string the IBM InfoSphere DataStage is generating a differnt MD5 checksum value.</p>
  
  <p>Can anyone please direct me on how to generate the same MD5 checksum value given by data stage?</p>
  
  <p>md5 generated by java code: 4659dff22b357cd9cc9fe0979603d1ab
  md5 generated by data stage: fd607ac2a5d19980795c584dff24b899</p>
  
  <p>below is my java code</p>
  
  <p><code>public static void main(String[] args) throws UnsupportedEncodingException{
          String value = "TREFFLAGDATAC000000EN";
          String hashCode = DigestUtils.md5Hex(value.getBytes("UTF-8"));
          System.out.println(hashCode);
      }</code></p>