LeviLamina
Loading...
Searching...
No Matches
CSHA1.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class CSHA1 {
6public:
7 // CSHA1 inner types define
8 enum class REPORT_TYPE : int {
9 Hex = 0,
10 Digit = 1,
11 HexShort = 2,
12 };
13
14public:
15 // member variables
16 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 CSHA1& operator=(CSHA1 const&);
30 CSHA1(CSHA1 const&);
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI CSHA1();
36
37 MCAPI void Final();
38
39 MCFOLD uchar* GetHash() const;
40
41#ifdef LL_PLAT_C
42 MCAPI bool ReportHash_a(char* tszReport, ::CSHA1::REPORT_TYPE rtReportType) const;
43#endif
44
45 MCFOLD void Reset();
46
47 MCAPI void Transform(uint* pState, uchar const* pBuffer);
48
49 MCAPI void Update(uchar const* pbData, uint uLen);
50
51 MCAPI ~CSHA1();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor();
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCFOLD void $dtor();
64 // NOLINTEND
65};
Definition Alias.h:14