[jboss-user] [JBoss Portal] - Pulling password from JBoss (JBP_USERS) directly

foongkim do-not-reply at jboss.com
Sat Mar 22 01:21:03 EDT 2008


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==




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138393#4138393

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138393



More information about the jboss-user mailing list