Jump to content

read / compare binary password field?


ale1981

Recommended Posts

We have a program that stores passwords in a SQL database using the following SQL proceedure;

 

update master.dbo.sysxlogins
set password = convert(varbinary(256), pwdencrypt(@new)), xdate2 = getdate(), xstatus = xstatus & (~2048)
where name = @loginame and srvid IS NULL

 

Would it be possible to read and compare a password entered in an input box using php, to check the passwords match?

 

Any help would be appreciated. Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/69898-read-compare-binary-password-field/
Share on other sites

Archived

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

×
×
  • 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.