Live data from Hacker News

The Dex File Format

blog.bugsnag.com

1–4 of 4 posts

Re: The Dex File Format

#3
> The next value is a checksum, which is calculated by applying a function to the contents of the entire file, excluding any bytes preceding the checksum.

[...]

> The header also includes a SHA-1 hash of the file (excluding any preceding bytes).

Wait, each checksum includes the other? How does that work?

Re: The Dex File Format

#4
post #3

> The next value is a checksum, which is calculated by applying a function to the contents of the entire file, excluding any bytes preceding the checksum. [...] > The header also includes a SHA-1 hash of the file (excluding any preceding bytes). Wait, each checksum includes the other? How does that work?

... nevermind. Pardon the stupidity...