export aes encrypt and decrypt methof in jsb_global.h

This commit is contained in:
CounterFire2023 2023-08-15 15:15:14 +08:00
parent 72151488a1
commit 18b5d82244
2 changed files with 545 additions and 472 deletions

File diff suppressed because it is too large Load Diff

View File

@ -48,3 +48,6 @@ bool jsb_run_script_module(const std::string& filePath, se::Value* rval = nullpt
void jsb_set_xxtea_key(const std::string& key);
bool jsb_global_load_image(const std::string& path, const se::Value& callbackVal);
std::string encrypt_aes(std::string& content, std::string& key);
std::string decrypt_aes(std::string& content, std::string& key);