SHA1 Using php and .net -
Can I get help for the problem below?
I have the sha1 value in the mssql table (password algorithm is encrypted using SHA1 which is provided in the Microsoft .NET Library.)
I created a PHP application It requires me to compare these encrypted values.
Thank you
I think that you compare the password given by the user to the database Want to do with hashed values from In that case, just use the basic php sha1 function:
if ($ hashes passwordformdb == sha1 ($ plainUserProvidedPassword)) {echo "accept!"; } And {echo "disapproved!"; }
Comments
Post a Comment