mirror of
https://github.com/allankoechke/Bcrypt.cpp.git
synced 2026-12-01 09:02:45 +00:00
Restructure and cleanup
This commit is contained in:
14
include/bcrypt-cpp/bcrypt.h
Normal file
14
include/bcrypt-cpp/bcrypt.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user