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
The following example shows on how user-defined password encryptions can be added to the  file: