feat: add encrypt class(AESEncryptHelper) and CMake link logic

This commit is contained in:
kradchen
2025-03-07 09:19:45 +08:00
parent 9c1a8c98eb
commit bf68cfc532
3 changed files with 135 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#ifndef AESENCRYPTHELPER_H
#define AESENCRYPTHELPER_H
#include <string>
class AESEncryptHelper
{
public:
AESEncryptHelper() = delete;
static std::string encrypt(const std::string& aPlainText);
static std::string decrypt(const std::string& aCipherText);
};
#endif /* ALAESENCRYPTHELPER_H */