Manual:Hooks/UserCryptPassword

Details
This hook was removed in as part of the RFC for improving the storage of passwords.

Return false to implement your own hashing method.


 * &$password: String of the plaintext password to encrypt
 * &$salt: String of the password salt or boolean false if no salt is provided
 * &$wgPasswordSalt: Boolean of whether the salt is used in the default hashing method
 * &$hash: If the hook returns false, this string will be used as the hash