Files
Bcrypt.cpp/include/bcrypt.h
Christoph Hilchenbach 1107d7bcb4 changed interface
2019-12-27 16:27:39 +01:00

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