types and db setup

This commit is contained in:
2026-03-11 00:10:34 +00:00
parent 2857c35936
commit 067d8434cd
9 changed files with 234 additions and 0 deletions

7
include/hashing.hpp Normal file
View File

@@ -0,0 +1,7 @@
#include <string>
namespace hashing {
std::string GenerateSetting(unsigned long cost = 0);
std::string HashPassword(const std::string& password, const std::string& setting);
bool VerifyPassword(const std::string& password, const std::string& stored_password);
}