mirror of
https://github.com/hilch/Bcrypt.cpp.git
synced 2026-08-27 03:36:32 +02:00
15 lines
265 B
C++
15 lines
265 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
|