Files
Bcrypt.cpp/include/bcrypt.h
T

15 lines
264 B
C++

#ifndef BCRYPT_H
#define BCRYPT_H
#include <string>
namespace bcrypt
{
std::string generateHash(const std::string & password , unsigned rounds = 10 );
bool validatePassword(const std::string & password, const std::string & hash);
}
#endif // BCRYPT_H