Manual talk:$wgPasswordSalt

Creating the Hash
I rm all the sample code because it's just plain wrong. Blatantly, it does not generate the stuff demanded at Manual:User_table.

I have succeeded in doing what's required but I'm very weak in PHP and I don't cotton to cramming that much tricky stuff into a SQL query. So I did it in Perl. This is for $wgPasswordSalt=true (default).

&rarr;Xiong 10:15, 26 December 2013 (UTC)