OTSCrypt.h 385 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "ARACrypt.h"
  3. namespace OTSMODEL
  4. {
  5. class COTSCrypt
  6. {
  7. public:
  8. COTSCrypt(void);
  9. virtual ~COTSCrypt(void);
  10. //virtual void SetKey(LPCTSTR a_psKey);
  11. void Encrypt(const LPCTSTR& a_sKey, CString& a_sLicense);
  12. void Decrypt(const LPCTSTR& a_sKey, CString& a_sLicense);
  13. private:
  14. CARACrypt m_oCrypt;
  15. };
  16. }