Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: hashmd5.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CHashMD5 class
  7. //
  8. //
  9. // History: 9/23/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _HASHMD5_H_
  16. #define _HASHMD5_H_
  17. #include "hash.h"
  18. class CHashMD5 : public CHash
  19. {
  20. public:
  21. CHashMD5();
  22. virtual ~CHashMD5();
  23. BOOL HashIt (
  24. /*[out]*/ PBYTE pbyAuthenticator,
  25. /*[in]*/ PBYTE pSecret,
  26. /*[in]*/ DWORD dwSecretSize,
  27. /*[in]*/ PBYTE pBuffer1,
  28. /*[in]*/ DWORD dwSize1,
  29. /*[in]*/ PBYTE pBuffer2,
  30. /*[in]*/ DWORD dwSize2,
  31. /*[in]*/ PBYTE pBuffer3,
  32. /*[in]*/ DWORD dwSize3,
  33. /*[in]*/ PBYTE pBuffer4,
  34. /*[in]*/ DWORD dwSize4,
  35. /*[in]*/ PBYTE pBuffer5,
  36. /*[in]*/ DWORD dwSize5
  37. );
  38. BOOL Init (VOID) {return (TRUE);};
  39. };
  40. #endif // ifndef _HASHMD5_H_