News:

Wondering if this will always be free?  See why free is better.

Main Menu

reusing database password

Started by jsucupira, November 08, 2007, 03:36:25 PM

Previous topic - Next topic

jsucupira

I wanted to use the same password that my users use to register to logging on my website.  the problem is that the password is encrypted.  my question is, what kind of encryption does SMF uses to post the saved password to the database. if anyone knows. how can I verify that password from the database with PHP? thnx

H

Welcome to SMF! sha1 with the password and lowercase username

From the SMF source:

$current = sha1(strtolower('username') . 'password');
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: