The aim of the hash function is to verify consistency of the binary data written in the snapshots. Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>