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

Function checkReSetCryptKey

flutter/mmkv_linux/linux/flutter-bridge.cpp:403–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403MMKV_EXPORT void checkReSetCryptKey(void *handle, char *oKey, uint64_t length, bool aes256) {
404 MMKV *kv = static_cast<MMKV *>(handle);
405 if (kv) {
406 if (oKey && length > 0) {
407 string key(oKey, length);
408 kv->checkReSetCryptKey(&key, aes256);
409 } else {
410 kv->checkReSetCryptKey(nullptr, aes256);
411 }
412 }
413}
414
415# endif // MMKV_DISABLE_CRYPT
416

Callers

nothing calls this directly

Calls 1

checkReSetCryptKeyMethod · 0.45

Tested by

no test coverage detected