Skip to content
LeviMC
English
AutoLightDark
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 CSHA1();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI void Final();
37
38#ifdef LL_PLAT_C
39 MCNAPI bool ReportHash_a(char* tszReport, ::CSHA1::REPORT_TYPE rtReportType) const;
40#endif
41
42 MCNAPI void Transform(uint* pState, uchar const* pBuffer);
43 // NOLINTEND
44};
MCAPI void Final()
MCAPI void Transform(uint *pState, uchar const *pBuffer)
Definition Alias.h:14