|
ProteoWizard
|
#include <SHA1.h>
Public Types | |
| enum | REPORT_TYPE { REPORT_HEX = 0, REPORT_DIGIT = 1, REPORT_HEX_SHORT = 2 } |
Public Member Functions | |
| CSHA1 () | |
| ~CSHA1 () | |
| void | Reset () |
| void | Update (const UINT_8 *pbData, UINT_32 uLen) |
| bool | HashFile (const TCHAR *tszFileName) |
| void | Final () |
| bool | ReportHash (TCHAR *tszReport, REPORT_TYPE rtReportType=REPORT_HEX) const |
| bool | ReportHashStl (std::basic_string< TCHAR > &strOut, REPORT_TYPE rtReportType=REPORT_HEX) const |
| bool | GetHash (UINT_8 *pbDest) const |
Public Attributes | |
| UINT_32 | m_state [5] |
| UINT_32 | m_count [2] |
| UINT_32 | m_reserved0 [1] |
| UINT_8 | m_buffer [64] |
| UINT_8 | m_digest [20] |
| UINT_32 | m_reserved1 [3] |
Private Member Functions | |
| void | Transform (UINT_32 *pState, const UINT_8 *pBuffer) |
Private Attributes | |
| UINT_8 | m_workspace [64] |
| SHA1_WORKSPACE_BLOCK * | m_block |
| enum CSHA1::REPORT_TYPE |
| CSHA1::CSHA1 | ( | ) |
| CSHA1::~CSHA1 | ( | ) |
| void CSHA1::Reset | ( | ) |
| bool CSHA1::HashFile | ( | const TCHAR * | tszFileName | ) |
| void CSHA1::Final | ( | ) |
| bool CSHA1::ReportHash | ( | TCHAR * | tszReport, |
| REPORT_TYPE | rtReportType = REPORT_HEX |
||
| ) | const |
| bool CSHA1::ReportHashStl | ( | std::basic_string< TCHAR > & | strOut, |
| REPORT_TYPE | rtReportType = REPORT_HEX |
||
| ) | const |
| bool CSHA1::GetHash | ( | UINT_8 * | pbDest | ) | const |
|
private |
1.8.1.1