WSF
UtSHA_Digest Class Reference

Container for a UtSHA Digest. More...

#include <UtSHA.hpp>

Public Types

enum  { cBUFFER_SIZE = 32 }

Public Member Functions

void Clear ()
bool operator== (const UtSHA_Digest &aRhs) const
bool operator!= (const UtSHA_Digest &aRhs) const
bool operator< (const UtSHA_Digest &aRhs) const
std::string ToHex () const

Public Attributes

union { 
   char   mBytes [cBUFFER_SIZE
   unsigned int   mWords [8] 
   unsigned long long   mWord64 [4] 
}; 

Detailed Description

Container for a UtSHA Digest.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
cBUFFER_SIZE 

Member Function Documentation

◆ Clear()

void UtSHA_Digest::Clear ( )
inline

References mWord64.

◆ operator!=()

bool UtSHA_Digest::operator!= ( const UtSHA_Digest & aRhs) const
inline

◆ operator<()

bool UtSHA_Digest::operator< ( const UtSHA_Digest & aRhs) const
inline

References mWord64.

◆ operator==()

bool UtSHA_Digest::operator== ( const UtSHA_Digest & aRhs) const
inline

References mWord64.

◆ ToHex()

std::string UtSHA_Digest::ToHex ( ) const

References cBUFFER_SIZE, and mBytes.

Member Data Documentation

◆ [union]

union { ... } UtSHA_Digest

◆ mBytes

char UtSHA_Digest::mBytes[cBUFFER_SIZE]

Referenced by UtSHA::FinalDigest(), and ToHex().

◆ mWord64

unsigned long long UtSHA_Digest::mWord64[4]

Referenced by Clear(), operator<(), and operator==().

◆ mWords

unsigned int UtSHA_Digest::mWords[8]

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved