Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

32 Character MD5 Hash

843810Jun 16 2004 — edited Feb 7 2007
The current project I'm working on mixes some PHP bulletin board software and JSP.

There is a PHP function md5() which encrypts any string into a 32 character hash. I need to create a method in Java to do this the same way PHP does.

I can get MD5 to work, but it is no where near 32 characters.

Any insight would be greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2007
Added on Jun 16 2004
7 comments
1,429 views