Skip to content

jixunmoe/mmkv-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mmkv-parser

Crates.io License Crates.io Version

A read-only mmkv parser for MMKV containers with support for encrypted mmkv store.

This crate provides methods to parse the mmkv file to a HashMap, which its values can then be parsed into unsigned integer (read_u64), variable-length byte slice (read_container), or UTF-8 String (read_string).

Warning

The encryption implementation is different from the rust mmkv crate. Notably, the mmkv crate uses aes-128-eax, while the Tencent C++ MMKV implementation uses aes-128-cfb.

Encrypted mmkv store

There'll be an extra filename.mmkv.crc header file, which contains crc and IV fields. You'll also need to provide the key (not within those 2 files) to decrypt the mmkv store. See src/bin/mmkv.rs for details.

License

One of the following:

  • MIT License
  • Apache 2.0

About

MMKV Parser

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages