ARGON2 -> PBKDF2

ARGON2 requires OpenSSL 3.2, not available in Ubuntu 24.04
This commit is contained in:
Guillaume Meunier
2024-11-26 23:59:35 +01:00
committed by Patrick Nicolas
parent 2778f7dd7e
commit 8a48f8ff7b
3 changed files with 4 additions and 16 deletions
+1 -1
View File
@@ -182,6 +182,6 @@ public:
};
// Salt must be at least 8 characters
std::vector<uint8_t> argon2(std::string pass, std::string salt, std::span<uint8_t> secret, size_t size);
std::vector<uint8_t> pbkdf2(std::string pass, std::string salt, std::span<uint8_t> secret, size_t size);
} // namespace crypto