#pragma once #include "stdafx.h" #include #include #include #include #include #include // 对生成服务端功能进行加密 std::string getHardwareID(); std::string hashSHA256(const std::string& data); std::string getFixedLengthID(const std::string& hash); std::string deriveKey(const std::string& password, const std::string& hardwareID);