summaryrefslogtreecommitdiff
path: root/searx/plugins/hash_plugin.py
diff options
context:
space:
mode:
authorbenpiano800 <51756721+benpiano800@users.noreply.github.com>2025-06-12 11:26:05 -0500
committerBnyro <bnyro@tutanota.com>2025-06-12 21:05:49 +0200
commit0b877f1fb890b345c116e76b5744bfe4263b5c2e (patch)
tree698338f0454b55fdcb3e085c5e2bc1cd16e9a875 /searx/plugins/hash_plugin.py
parenta6d0333e30a79aea8aef8781cd78df0bec676bf0 (diff)
[mod] Hash plugin: List the available hash functions in the description
Co-authored-by: Bnyro <bnyro@tutanota.com>
Diffstat (limited to 'searx/plugins/hash_plugin.py')
-rw-r--r--searx/plugins/hash_plugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/plugins/hash_plugin.py b/searx/plugins/hash_plugin.py
index ab0ac010b..fb6f7be7c 100644
--- a/searx/plugins/hash_plugin.py
+++ b/searx/plugins/hash_plugin.py
@@ -32,7 +32,9 @@ class SXNGPlugin(Plugin):
self.info = PluginInfo(
id=self.id,
name=gettext("Hash plugin"),
- description=gettext("Converts strings to different hash digests."),
+ description=gettext(
+ "Converts strings to different hash digests. Available functions: md5, sha1, sha224, sha256, sha384, sha512." # pylint:disable=line-too-long
+ ),
examples=["sha512 The quick brown fox jumps over the lazy dog"],
preference_section="query",
)