Hi folks, I have a client who hurled a bunch of work at me and was simply moving a script of some sort. Can some explain to me what this function means.. to add an admin, use the hash md5(sha1("password")); put all the information in the admins table I tried adding the pass as md5 but when I go back and look via phpmyadmin its something different. Same thing happens if if I try something encrpyted with sha1 What am I missing here? thanks, Nigel
The password is encrypted with sha1 first, and then this is encrypted with md5 hash. Example if the password was "hello": If you encrypted it with just sha1 then you would get the MIDDLE result above. If you just encrypted it with just md5 you would get the result below: --Mike
Thanks, so I am clear I take the sha1 encryption and make an md5 of that and then select md5 in phpmyadmin? Sorry, I get my question is a bit thick. Just trying to fix it and move on lol.. Nigel