Compute and check checksums in client and server