// // Created by UnknownObject on 2022/10/22. // Copyright (c) 2022 UnknownNetworkService. All rights reserved. // #ifndef MAINCAR_MAIN_CAR_AES_H #define MAINCAR_MAIN_CAR_AES_H //数据处理算法 #define MAIN_CAR_AES_VERSION "2.0.0" #include #include #include #include namespace uns { using Box = std::vector; class MC_AES { private: Box S, K; int i = 0, j = 0; private: void KSA(); int PRGA(); void Swap(int &a, int &b); void InitBox(std::string data); public: Box Run(std::string info, std::string data); }; }; #endif //MAINCAR_MAIN_CAR_AES_H