Generates an MD5 salt for use in `lithium\security\Password::hash()`.
Returns
string The MD5 salt.Source
protected static function _genSaltMD5() {
return '$1$' . String::random(6, array('encode' => String::ENCODE_BASE_64));
}
protected static function _genSaltMD5() {
return '$1$' . String::random(6, array('encode' => String::ENCODE_BASE_64));
}