This summary of the suggested format should have been part of the original mail:
file-id (PND0xff) - 4 bytes version - 4 bytes header size - 4 bytes file size - 4 bytes checksum (md5/sha1) - 16/20 bytes filesystem type - 4 bytes header payload - x bytes filesystem - y bytes
On Tue, Mar 1, 2011 at 7:13 PM, Anders Petersson demitar@gmail.com wrote:
checksum (could be md5 which would be word-sized but likely better to go with sha1 which should provide a good trade-off between cryptographic strength and speed, weighs in at 5 bytes (160 bits), not sure what would be the easiest to verify but could be the whole file with the checksum zero padded, possibly we could hash the header and filesystem separately)
And this should of course have been 4 and 5 _words_ respectively (16 or 20 bytes), this affects the header sizes mentioned below as well.
-- Anders