$options['salt']]) === $hashedValue; } public function needsRehash($hashedValue, array $options = array()) { return false; } static public function ips_sanitize($value) { $value = str_replace('&', '&', $value); $value = str_replace('\\', '\', $value); $value = str_replace('!', '!', $value); $value = str_replace('$', '$', $value); $value = str_replace('"', '"', $value); $value = str_replace('<', '<', $value); $value = str_replace('>', '>', $value); $value = str_replace('\'', ''', $value); return $value; } }