Hash Values

Back to top

class searx.plugins.hash_plugin.SXNGPlugin(plg_cfg: PluginCfg)[source] : Plugin converts strings to different hash digests. The results are displayed in area for the “answers”.

id: [str](https://docs.python.org/3/builtins/stdtypes.html#str) = 'hash\_plugin'
:   The ID (suffix) in the HTML form.

keywords: [list](https://docs.python.org/3/builtins/stdtypes.html#list)[[str](https://docs.python.org/3/builtins/stdtypes.html#str)] = ['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']
:   Keywords in the search query that activate the plugin. The *keyword* is
    the first word in a search query. If a plugin should be executed regardless
    of the search query, the list of keywords should be empty (which is also the
    default in the base class for Plugins).

post\_search(*request: [SXNG\_Request](https://docs.searxng.org/dev/extended_types.html#searx.extended_types.SXNG_Request)*, *search: [SearchWithPlugins](https://docs.searxng.org/src/searx.search.html#searx.search.SearchWithPlugins)*) → [EngineResults](https://docs.searxng.org/dev/engines/index.html#searx.result_types.EngineResults)[[source]](https://docs.searxng.org/_modules/searx/plugins/hash_plugin.html#SXNGPlugin.post_search)
:   Returns a result list only for the first page.

Copyright © SearXNG team

Made with Furo

💾 🌐