To mitigate data-tampering, one solution is for database records to include a hash of the previous record, blockchain-style. The hash for the first record is calculated usin