| Crates.io | mmkv-parser |
| lib.rs | mmkv-parser |
| version | 0.1.2 |
| created_at | 2024-02-11 22:10:58.856439+00 |
| updated_at | 2024-02-11 23:46:39.379956+00 |
| description | A readonly MMKV implementation (parser) with encryption support. |
| homepage | |
| repository | https://github.com/jixunmoe/mmkv-parser/ |
| max_upload_size | |
| id | 1136135 |
| size | 36,745 |
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
mmkvcrate. Notably, themmkvcrate usesaes-128-eax, while the Tencent C++ MMKV implementation usesaes-128-cfb.
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.
One of the following: