Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cAuthentication.h
Go to the documentation of this file.
1 //
4 //
5 
6 #ifndef _INC_cAuthentication_H
7 #define _INC_cAuthentication_H
8 #ifndef NO_PRAGMA_ONCE
9 #pragma once
10 #endif
11 
12 #include "../GrayLibBase.h"
13 #include "../Hash/cHashCode.h"
14 
15 namespace GrayLib
16 {
18  {
23 
24  public:
25  enum HASH_TYPE
26  {
27  HASH_None = 0, // Plain text password.
30  };
31 
32  cAuthentication(void);
33  virtual ~cAuthentication(void);
34 
35  //void ComputeResult(OUT cHashCode& result, const cHashCode& challenge);
36  //bool IsMatch(const cHashCode& result, const cHashCode& challenge);
37 
38  public:
42  };
43 
44  // The cAuthentication including the challenge.
45 };
46 
47 #endif
Definition: cAuthentication.h:18
virtual ~cAuthentication(void)
Definition: cAuthentication.cpp:15
cAuthentication(void)
Definition: cAuthentication.cpp:11
cHashCode m_PassSalted
The resultant hash for password + salt.
Definition: cAuthentication.h:41
HASH_TYPE m_ePassHashType
What type of hash operation is used? SHA256 ? plain text?
Definition: cAuthentication.h:39
HASH_TYPE
Definition: cAuthentication.h:26
@ HASH_None
Definition: cAuthentication.h:27
@ HASH_SHA256
Definition: cAuthentication.h:29
@ HASH_MD5
Definition: cAuthentication.h:28
cHashCode m_PassSalt
The random salt for the password.
Definition: cAuthentication.h:40
Definition: cHashCode.h:43
Definition: cMesh.h:22