#pragma once #include #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(); };