core: Calculate a checksum instead of using a timestamp. Fixes #633