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

Function checkReSetCryptKey

Android/MMKV/mmkv/src/main/cpp/flutter-bridge.cpp:425–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

checkReSetCryptKeyMethod · 0.45

Tested by

no test coverage detected