Changing the HASH for MD5

A place to discuss and receive support for the Web Auction application.

Changing the HASH for MD5

Postby JGerrity » Mon Apr 02, 2012 9:09 am

Hello,

I'm pointing WebAuction to a different user table than it's own (using a view, works well). Except the two systems appear to use a different HASH for MD5 encryption. Would it be possible to change WebAuctions encryption and decryption algorithm? I've looked through documentation and the wiki and search files like AuthenticatioTool.php and Serializer.php but can seem to find where WebAuction is encrypting and decrypting.

Is this possible and if so, where do I make the changes?

The hash used by the other system is:

Code: Select all
$hash[] = md5(md5(time() + time()) . sha1(time()));


To clarify, I'm looking to change WebAuction to only authenticate the user against the other user table NOT to edit passwords or update.

Thanks,
J.
JGerrity
 
Posts: 16
Joined: Fri Mar 02, 2012 4:43 pm

Re: Changing the HASH for MD5

Postby shannah » Mon Apr 02, 2012 9:55 am

You will want to implement the password__serialize() method in the users table delegate class. This wiki article shows how to set up authentication against the PHPBB users table, which has a more complex hashing algorithm than the one you need to implement:
http://xataface.com/wiki/Authenticating ... sers_table

You should be able to use the exact same strategy.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 23 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved