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