working on adding a entity workflow
This commit is contained in:
18
source/Userdb/user_data.h
Normal file
18
source/Userdb/user_data.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef USER_DATA_H
|
||||
#define USER_DATA_H
|
||||
|
||||
/*
|
||||
* Hash_Password
|
||||
*
|
||||
* password: this is the password in plane text
|
||||
* out: this is the ouput hash of the function.
|
||||
*
|
||||
* NOTE: *This uses sha256 hashing.*
|
||||
*
|
||||
* this will return a unsigned char* that contains the hash.
|
||||
* returns if zero or less then the hashing has failed other wise it is the len
|
||||
* of the password hash.
|
||||
* */
|
||||
int Hash_Password(const char* password,unsigned char* out);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user