summaryrefslogtreecommitdiff
path: root/searx/plugins/hash_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/plugins/hash_plugin.py')
-rw-r--r--searx/plugins/hash_plugin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/plugins/hash_plugin.py b/searx/plugins/hash_plugin.py
index 1d3baaede..edb91dd8e 100644
--- a/searx/plugins/hash_plugin.py
+++ b/searx/plugins/hash_plugin.py
@@ -23,6 +23,9 @@ import re
name = "Hash plugin"
description = gettext("Converts strings to different hash digests.")
default_on = True
+preference_section = 'query'
+query_keywords = ['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']
+query_examples = 'sha512 The quick brown fox jumps over the lazy dog'
parser_re = re.compile('(md5|sha1|sha224|sha256|sha384|sha512) (.*)', re.I)