![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cAuthentication.h>
Public Types | |
enum | HASH_TYPE { HASH_None = 0 , HASH_MD5 , HASH_SHA256 } |
Public Member Functions | |
cAuthentication (void) | |
virtual | ~cAuthentication (void) |
Public Attributes | |
HASH_TYPE | m_ePassHashType |
What type of hash operation is used? SHA256 ? plain text? More... | |
cHashCode | m_PassSalt |
The random salt for the password. More... | |
cHashCode | m_PassSalted |
The resultant hash for password + salt. More... | |
Secure Authentication mechanism for a single user/account. cAuthUser. Allow login across insecure channels. e.g. Don't transmit passwords. confirm login via salted hash. TODO Make this work with Active Directory, OpenID, OAuth etc. ??
GrayLib::cAuthentication::cAuthentication | ( | void | ) |
|
virtual |
HASH_TYPE GrayLib::cAuthentication::m_ePassHashType |
What type of hash operation is used? SHA256 ? plain text?
cHashCode GrayLib::cAuthentication::m_PassSalt |
The random salt for the password.
cHashCode GrayLib::cAuthentication::m_PassSalted |
The resultant hash for password + salt.