Browse Source

[mod] Hash plugin: List the available hash functions in the description

Co-authored-by: Bnyro <bnyro@tutanota.com>
benpiano800 2 days ago
parent
commit
0b877f1fb8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      searx/plugins/hash_plugin.py

+ 3 - 1
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",
         )