mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-27 08:20:35 +00:00
23 lines
323 B
C++
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();
|
|
|
|
};
|