Jump to content

Password Hashing


Monk

Recommended Posts

Hi

 

I'm writing a couple of plugins, but I need to know what kind of hashing you are using for the password functions.. is it some type of hand rolled function? or is it a API that isn't posix ready..

 

mysql> SELECT Password FROM tc_users WHERE User_ID="Testz0r"; 
+--------------------------+
| Password                 |
+--------------------------+
| H0Of1A9wD/L4OBovEuHYZw== | 
+--------------------------+
1 row in set (0.00 sec)

 

At first I thought it was a crypt function, but it's not. It's not MD5, so is it SHA? DES?

Link to comment
Share on other sites

I noticed that MD5_PASSWORD has not always been in the tcadmin database. Very old users may not have MD5 password generated. however, if the user changes their password, md5 will work.

 

You can use the SDK to read the hashed pass and create the MD5, or if you're adding users straight to the database make sure you set the MD5 pass.

 

Rgs

-Paul

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 5 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use