Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MD5 Differences  RSS feed

 
bdote
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
We upgraded from Weblogic 4.5 to 6.1. 4.5 used jdk1.2.2 whereas 6.1 uses 1.3. Now, the hashing of the passwords are different between the two versions of the jdk and I can't figure out why. If I pass a password to any weblogic (4.5 or 6.1) using JDK1.3, the resulting hash is different then if I pass the exact same password to any weblogic using JDK1.2.2. The problem is that the hashed keys are stored in the database and because the new weblogic/jdk1.3 is hashing them differently, all the existing user passwords are not working. Any info would be greatly appreciated.
Thank you!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I also ran into that on moving to JDK 1.3 with an application in which I based something on a String hashcode. They changed the algorithm for 1.3 so I dug up the following from an earlier String.java source!!

Bill
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi "bdote." Welcome to JavaRanch.
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name here:
here

You can also find the naming policy here:
http://www.javaranch.com/name.jsp
Thank You!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!