protected function _obscureSensitiveElements($string)
    {
        return preg_replace_callback(
            self::$_sensitiveElementPatterns, function ($matches) {
            return $matches[1] . $this->_obscureString($matches[2]) . $matches[3];
            }, $string
        );
    }