types and db setup
This commit is contained in:
7
include/hashing.hpp
Normal file
7
include/hashing.hpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user