Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cAuthentication Class Reference

#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...
 

Detailed Description

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. ??

Member Enumeration Documentation

◆ HASH_TYPE

Enumerator
HASH_None 
HASH_MD5 
HASH_SHA256 

Constructor & Destructor Documentation

◆ cAuthentication()

GrayLib::cAuthentication::cAuthentication ( void  )

◆ ~cAuthentication()

GrayLib::cAuthentication::~cAuthentication ( void  )
virtual

Member Data Documentation

◆ m_ePassHashType

HASH_TYPE GrayLib::cAuthentication::m_ePassHashType

What type of hash operation is used? SHA256 ? plain text?

◆ m_PassSalt

cHashCode GrayLib::cAuthentication::m_PassSalt

The random salt for the password.

◆ m_PassSalted

cHashCode GrayLib::cAuthentication::m_PassSalted

The resultant hash for password + salt.


The documentation for this class was generated from the following files: