1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 01:03:13 +02:00

Switch enc_sha2 default from sha256 to sha512.

This commit is contained in:
Sadie Powell
2025-04-14 01:01:24 +01:00
parent aa0a687a58
commit 07bd1bbec9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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