3 Replies Latest reply on Mar 22, 2008 9:50 AM by foongkim

    Pulling password from JBoss (JBP_USERS) directly

    foongkim

      Hi, i have this password, "d8578edf8458ce06fbc5bb76a58c5ca4" what do you think the hashing mechanism?

      I have use this code to compare, but the differences are too much. Share me your view.

      MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
      digest.update("qwerty".getBytes());
      byte[] hash = digest.digest();
      System.out.println(Base64Encoder.encode(hash));

      and the base64 is from org.jboss.security.Base64Encoder and the output is 2FeO34RYzgb7xbt2pYxcpA==