Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/SecureHash.h |
| Include | #include "Misc/SecureHash.h" |
Syntax
class FSHA1
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32[1] | __reserved1 | ||
| uint32[3] | __reserved2 | ||
| uint8[64] | m_buffer | ||
| uint64 | m_count | ||
| uint8[20] | m_digest | ||
| uint32[5] | m_state |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSHA1 () |
Constructor and Destructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FSHA1 () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Final () |
Finalize hash and report. | |
| FSHAHash | Finalize () |
Finalize hash and return it. | |
| bool | GetFileSHAHash
(
const TCHAR* Pathname, |
Gets the stored SHA hash from the platform, if it exists. | |
| void | Report functions: as pre-formatted and raw data. | ||
| FSHAHash | HashBuffer
(
const void* Data, |
Calculate the hash on a single block and return it | |
| void | HashBuffer
(
const void* Data, |
Calculate the hash on a single block and return it | |
| void | HMACBuffer
(
const void* Key, |
Generate the HMAC (Hash-based Message Authentication Code) for a block of data. | |
| void | InitializeFileHashesFromBuffer
(
uint8* Buffer, |
Shared hashes.sha reading code (each platform gets a buffer to the data, then passes it to this function for processing) | |
| void | Reset () |
||
| void | Update the hash value. | ||
| void | UpdateWithString
(
const TCHAR* data, |
Update the hash value with string. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| API/Runtime/Core/Misc/FSHA1_1 |
Constants
| Name | Description |
|---|---|
| FullFileSHAHashMap | Global map of filename to hash value, filled out in InitializeFileHashesFromBuffer |
| ScriptSHAHashMap | Global map of filename to hash value, but for script-only SHA hashes |