summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-14 01:01:24 +0100
committerSadie Powell <sadie@witchery.services>2025-04-14 01:01:24 +0100
commit07bd1bbec968931a12d2dc818383ce5115146e97 (patch)
tree04f09ab59d088790cd8868376aa43cc4cfb64ae8 /modules
parentaa0a687a580d57bfc9b122275329390087745d29 (diff)
Switch enc_sha2 default from sha256 to sha512.
Diffstat (limited to 'modules')
-rw-r--r--modules/encryption/enc_sha2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/encryption/enc_sha2.cpp b/modules/encryption/enc_sha2.cpp
index 4e60d330d..6f7a2b7cb 100644
--- a/modules/encryption/enc_sha2.cpp
+++ b/modules/encryption/enc_sha2.cpp
@@ -128,7 +128,7 @@ public:
void OnReload(Configuration::Conf &conf) override
{
- this->defaultprovider = GetAlgorithm(Config->GetModule(this).Get<const Anope::string>("algorithm", "sha256"));
+ this->defaultprovider = GetAlgorithm(Config->GetModule(this).Get<const Anope::string>("algorithm", "sha512"));
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) override