Working on User authentication
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef PASSWORDENCRYPTION_H_
|
||||
#define PASSWORDENCRYPTION_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "model/Models.h"
|
||||
|
||||
namespace utility {
|
||||
class PasswordEncryption {
|
||||
public:
|
||||
model::PassSec hashPassword(const model::User&);
|
||||
private:
|
||||
int saltSize();
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user