Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle (or at least fudge &/ memoize) the msg_group.hash value in iOS. #11

Closed
t413 opened this issue Aug 19, 2014 · 1 comment
Closed
Labels

Comments

@t413
Copy link
Owner

t413 commented Aug 19, 2014

In iOS the threads table, called msg_group, has a 32-bit column called 'hash'. From what I can tell it's not the crc32, adler32, or fletcher32 checksum hash of the number field directly.

It's doubtful I'll find the exact hashing function it's using. The fallback is to memoize that value, the original number, and a 'cleaned' version of the number all together with the messages. If you're outputting to another iOS format I'll use it if it exists and fudge another hash using CRC if it doesn't.

@t413 t413 added the bug label Aug 19, 2014
@t413
Copy link
Owner Author

t413 commented Aug 20, 2014

Actually this isn't relevant anymore. It's only part of the database in iOS 5 and earlier. I'll just be doing iOS 6+ exporting.

@t413 t413 closed this as completed Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant