MCPcopy Create free account
hub / github.com/Tencent/MMKV / checkReSetCryptKey

Function checkReSetCryptKey

OpenHarmony/MMKV/src/main/cpp/flutter-bridge.cpp:422–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422MMKV_EXPORT void checkReSetCryptKey(void *handle, char *oKey, uint64_t length, bool aes256) {
423 MMKV *kv = static_cast<MMKV *>(handle);
424 if (kv) {
425 if (oKey && length > 0) {
426 string key(oKey, length);
427 kv->checkReSetCryptKey(&key, aes256);
428 } else {
429 kv->checkReSetCryptKey(nullptr, aes256);
430 }
431 }
432}
433
434# endif // MMKV_DISABLE_CRYPT
435

Callers

nothing calls this directly

Calls 1

checkReSetCryptKeyMethod · 0.45

Tested by

no test coverage detected