bcrypt.h
1 #ifndef BCRYPT_H
2 #define BCRYPT_H
3 
4 #include <string>
5 
6 // FROM https://github.com/hilch/Bcrypt.cpp
7 
8 namespace bcrypt {
9 
10 
17 std::string generateHash(const std::string & password , unsigned rounds = 10 );
18 
25 bool validatePassword(const std::string & password, const std::string & hash);
26 
27 }
28 
29 #endif // BCRYPT_H
Definition: bcrypt.h:8