SA-MP/saco/archive/Hasher.h
2023-11-08 20:29:53 +08:00

23 lines
323 B
C++

#pragma once
#include <windows.h>
#include "CryptoContext.h"
class CHasher
{
private:
static DWORD ms_dwHashAlgorithm;
HCRYPTHASH m_hCryptHash;
CCryptoContext* m_pContext;
public:
CHasher(CCryptoContext* pContext);
~CHasher(void);
void AddData(DWORD dwDataLength, BYTE* pbData);
HCRYPTHASH GetContainer();
};