24#ifndef NAWA_BCRYPTHASHINGENGINE_H
25#define NAWA_BCRYPTHASHINGENGINE_H
61 [[nodiscard]] std::string
generateHash(std::string input)
const override;
70 [[nodiscard]]
bool verifyHash(std::string input, std::string hash)
const override;
Abstract base class for hashing engines.
bool verifyHash(std::string input, std::string hash) const override
BcryptHashingEngine(int workFactor=10, std::string salt="")
std::string generateHash(std::string input) const override
Macros for frequently used patterns.
#define NAWA_DEFAULT_DESTRUCTOR_DEF(Class)
#define NAWA_PRIVATE_DATA()