Manual:$wgPasswordConfig

Details
Configuration for built-in password types. Maps the password type to an array of options. The 'class' option is the Password class to use. All other options are class-dependent.

Example
This example shows on how user-defined password encryptions can be added to the  in the   directory.