Simple checksum validator