diff options
| author | benpiano800 <51756721+benpiano800@users.noreply.github.com> | 2025-06-12 11:26:05 -0500 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2025-06-12 21:05:49 +0200 |
| commit | 0b877f1fb890b345c116e76b5744bfe4263b5c2e (patch) | |
| tree | 698338f0454b55fdcb3e085c5e2bc1cd16e9a875 /searx/plugins/hash_plugin.py | |
| parent | a6d0333e30a79aea8aef8781cd78df0bec676bf0 (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.py | 4 |
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", ) |