|
MantisBase v0.3.4
|
#include "../../include/mantisbase/utils/utils.h"#include "../../include/mantisbase/mantisbase.h"#include <bcrypt-cpp/bcrypt.h>
Namespaces | |
| namespace | mb |
| router.h | |
Functions | |
| std::string | mb::hashPassword (const std::string &password) |
| Digests user password + a generated salt to yield a hashed password. | |
| bool | mb::verifyPassword (const std::string &password, const std::string &stored_hash) |
| Verifies user password if it matches the given hashed password. | |