mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 22:39:39 +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();
|
|
|
|
};
|