Skip to content

Cannot decrypt Android mmkv files when key contains negative bytes #13

@quizliu

Description

@quizliu

Hi spak9,

I'm trying to decrypt mmkv file from an Android project. I have the encrypted mmkv file and the crc file and the 16-byte key. I can perform the decryption with a key only has positive bytes, but not with a key has negative bytes, since Java's byte value has a range (-128, 127).

I also tried with converting byte array to a hex-string and pass the hex-string as the decryption key in python, but it doesn't work. Do you have any clue about this issue? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions