lithium\security\Password::_generateSaltMd5()

protected static method

Generates an MD5 salt for use in lithium\security\Password::hash().

Returns

string

The MD5 salt.

Source

	protected static function _generateSaltMd5() {
		return '$1$' . Random::generate(6, ['encode' => Random::ENCODE_BASE_64]);
	}