EncryptionF.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //---------------------------------------------------------------------------
  2. #ifndef EncryptionFH
  3. #define EncryptionFH
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef __Encryption_LIB__
  7. #pragma comment(lib, "Encryption.lib")
  8. #endif // #ifndef __Encryption_LIB__
  9. //---------------------------------------------------------------------------
  10. #include <Classes.hpp>
  11. /*
  12. *****************************************************************************
  13. * MD5 Function Prototypes
  14. *****************************************************************************
  15. */
  16. extern "C"
  17. {
  18. char* ITSMd5_Print(unsigned char md5Digest[16]);
  19. char* ITSMd5_String(char* szString);
  20. char* ITSMd5_File(char* szFilename);
  21. } /* extern "C" */
  22. /*
  23. *****************************************************************************
  24. * MD5 Function Prototypes
  25. *****************************************************************************
  26. */
  27. extern "C"
  28. {
  29. AnsiString ITSSHA256_Encrpyt(AnsiString ADesMessage);
  30. } /* extern "C" */
  31. /*
  32. *****************************************************************************
  33. * WinCrypt Function Prototypes
  34. *****************************************************************************
  35. */
  36. extern "C"
  37. {
  38. String WinCrypt_Encrpyt(String AEncMessage); //¾Ïȣȭ
  39. String WinCrypt_Decrypt(String ADecMessage); //º¹È£È­
  40. } /* extern "C" */
  41. #endif