1
magowiz
xoops 2.3.3 password hash method
  • 2009/12/7 16:15

  • magowiz

  • Just popping in

  • Posts: 18

  • Since: 2009/9/11


Hi,
on my website I have two CMS : XOOPS and tikiwiki, I would like to automatically import users from XOOPS to tikiwiki, I've already take note of which are the tables and the attributes I have to "convert" but I have a question about passwords :

I saw that in XOOPS there is a pass field that contains an hash, which method is used to generate that hash ? Is md5-crypt ? In tikiwiki I'm sure that is crypt-md5 but in XOOPS there aren't info or settings about it.

If they both use md5crypt can I for example copy the hashes from XOOPS to tikiwiki ? Doing this will produce the same username/password for the two cms ?

2
ghia
Re: xoops 2.3.3 password hash method
  • 2009/12/7 16:38

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes, XOOPS uses the MD5 hash.
You can test the compatability. If you create in both systems a user with the same password, then the stored values in the database should be the same.

3
magowiz
Re: xoops 2.3.3 password hash method
  • 2009/12/7 17:02

  • magowiz

  • Just popping in

  • Posts: 18

  • Since: 2009/9/11


Quote:
by ghia on 2009/12/7 17:38:32

Yes, XOOPS uses the MD5 hash.
You can test the compatability. If you create in both systems a user with the same password, then the stored values in the database should be the same.

No the hashes will never be the same since md5crypt introduces a bit of randomness , however if I create a user on XOOPS and then copy the same hash to the tikiwiki hash field the result is that the tikiwiki user will have the same password of XOOPS user