1
atsekabe
Database encrypted passwords
  • 2004/2/23 12:55

  • atsekabe

  • Just popping in

  • Posts: 9

  • Since: 2004/2/18


We want to offer e-mail services to our users, so we're trying to build an interface between XOOPS and Squirrel Mail.
The problem we find is that, when we retrieve the password from the database, it's encrypted.
Is there a way to decrypt the password?
Thanks,
Atsekabe



2
Dave_L
Re: Database encrypted passwords
  • 2004/2/23 14:44

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


No, it's one-way encryption. But you might be able to accomplish the desired result by encrypting the password that you want to check, and comparing the result against the one stored in the XOOPS database. XOOPS user passwords are encrypted as

encrypted_password md5(unencrypted_password)


where md5() is a standard PHP function that computes the MD5 Message Digest.

Login

Who's Online

176 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits