/**
 * Generate a hash for a plaintext password
 *
 * @param   string  $plaintext  The plaintext password to validate
 * @param   array   $options    Options for the hashing operation
 *
 * @return  string
 *
 * @since   4.0.0
 */
public function hashPassword($plaintext, array $options = [])
{
    $salt = UserHelper::genRandomPassword(32);
    $crypted = md5($plaintext . $salt);
    return $crypted . ':' . $salt;
}