Sha1 Encryption problem

#2
[eluser]Mark LaDoux[/eluser]
Check your sql tables, I'm betting the permitted number of characters is set to a smaller value than the number of characters produced by a sha1 hash.

It should be set as a varchar(40), it appears that you have it set to half of that, which is why the results don't match.

/* edit */

Almost forgot to mention, you will of course have to recreate all your password hashes once you do this so that you have full length hashes in the database instead of half length hashes.


Messages In This Thread
Sha1 Encryption problem - by El Forum - 11-06-2009, 10:17 PM
Sha1 Encryption problem - by El Forum - 11-06-2009, 11:24 PM
Sha1 Encryption problem - by El Forum - 11-07-2009, 04:40 AM
Sha1 Encryption problem - by El Forum - 11-07-2009, 09:28 AM
Sha1 Encryption problem - by El Forum - 11-07-2009, 05:02 PM
Sha1 Encryption problem - by El Forum - 11-07-2009, 08:57 PM
Sha1 Encryption problem - by El Forum - 11-08-2009, 10:24 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.