• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MD5.crypt() problem

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to integrate my app with JForum.
I use Jforum class MD5.crypt in my application, but when I use this class in my app and add users in jforum_users, passwords added by my app is not identical with passwords added by jforum. What I do wrong?
How to solve this problem?
Thanks.
[originally posted on jforum.net by CharOday]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem already solved!!! :-)
Dont know why, but when I use this class inside JBuilder2006 IDE (may bee because of embedded Tomcat5.5.9) it generates wrong md5 hash,
bat when I deploy my app in real Tomcat 5.5.17 all problems gone. Have anyone ideas about this?
[originally posted on jforum.net by CharOday]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For testing, make a debug. Use Log4j or System.out.println for checking what's the difference. Please note that there is already a log4j in jforum.

Cheers.
[originally posted on jforum.net by bobylus]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic